From 625f3e6d59a0ddac0e34ed6fb240486473187aa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=B9=BF=E6=98=8E?= Date: Tue, 18 Jan 2022 13:24:11 +0800 Subject: [PATCH] * Fix kanban bug. --- module/kanban/model.php | 1 + module/upgrade/model.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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();