From 8c2905162f5b2c9a18c86f2bd4e4e9ec6ebf7df5 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Thu, 14 Jul 2022 10:04:37 +0800 Subject: [PATCH] * Fix bug for task #60476. --- module/kanban/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/kanban/model.php b/module/kanban/model.php index 4582b14bd8..830f3f1c83 100644 --- a/module/kanban/model.php +++ b/module/kanban/model.php @@ -1697,7 +1697,7 @@ class kanbanModel extends model if($searchValue == '' and !isset($laneData['cards'][$column->columnType])) $laneData['cards'][$column->columnType] = array(); } - if(($searchValue != '' and empty($laneData['cards'])) or ($laneData['id'] == 'story0' and $cardCount == 0)) continue; + if(($searchValue != '' and empty($laneData['cards'])) or ($laneData['id'] == 'story0' and $cardCount == 0 and count($lanes) > 1)) continue; $kanbanGroup[$groupBy]['id'] = $groupBy . $laneID; $kanbanGroup[$groupBy]['columns'] = array_values($columnData); $kanbanGroup[$groupBy]['lanes'][] = $laneData;