diff --git a/module/kanban/model.php b/module/kanban/model.php index d7de198268..139b4707f6 100644 --- a/module/kanban/model.php +++ b/module/kanban/model.php @@ -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'); diff --git a/module/upgrade/model.php b/module/upgrade/model.php index 4c9c0d3d83..4d450bcc0b 100644 --- a/module/upgrade/model.php +++ b/module/upgrade/model.php @@ -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();