Merge branch 'sgm_fixbug' into 'master'
* Fix bug. See merge request easycorp/zentaopms!1641
This commit is contained in:
@@ -3051,7 +3051,15 @@ class kanbanModel extends model
|
||||
|
||||
foreach($parentCells as $cell)
|
||||
{
|
||||
$this->dao->update(TABLE_KANBANCELL)->set('cards')->eq($cell->cards)
|
||||
$cards = $this->dao->select('cards')->from(TABLE_KANBANCELL)
|
||||
->where('lane')->eq($cell->lane)
|
||||
->andWhere('`column`')->eq($columnID)
|
||||
->andWhere('type')->eq('common')
|
||||
->fetch('cards');
|
||||
|
||||
$cards = $cards ? $cards . ltrim($cell->cards, ',') : $cards;
|
||||
|
||||
$this->dao->update(TABLE_KANBANCELL)->set('cards')->eq($cards)
|
||||
->where('lane')->eq($cell->lane)
|
||||
->andWhere('`column`')->eq($columnID)
|
||||
->andWhere('type')->eq('common')
|
||||
|
||||
Reference in New Issue
Block a user