Merge branch 'sgm_fixbug' into 'master'
* Fix kanban bug. See merge request easycorp/zentaopms!1469
This commit is contained in:
@@ -840,6 +840,7 @@ class kanbanModel extends model
|
||||
->andWhere("INSTR(t2.cards, CONCAT(',',t1.id,','))")->gt(0)
|
||||
->andWhere('archived')->eq(0)
|
||||
->andWhere('t2.kanban')->eq($kanbanID)
|
||||
->andWhere('t2.type')->eq('common')
|
||||
//->orderBy('`order` asc')
|
||||
->fetchAll('id');
|
||||
|
||||
|
||||
@@ -5401,7 +5401,7 @@ class upgradeModel extends model
|
||||
$cell->kanban = $key[0];
|
||||
$cell->lane = $key[1];
|
||||
$cell->column = $key[2];
|
||||
$cell->type = 'card';
|
||||
$cell->type = 'common';
|
||||
$cell->cards = $cards;
|
||||
|
||||
$this->dao->insert(TABLE_KANBANCELL)->data($cell)->exec();
|
||||
|
||||
Reference in New Issue
Block a user