From 06e00bfa61d14a243d913e8f88e4d908124e656f Mon Sep 17 00:00:00 2001 From: liuhong Date: Thu, 29 Dec 2022 08:03:56 +0000 Subject: [PATCH] * Finish task #80189 for Closed plans are not shown in Kanban. --- module/kanban/model.php | 2 +- module/productplan/control.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/kanban/model.php b/module/kanban/model.php index 9c1b8d325e..f11e276167 100755 --- a/module/kanban/model.php +++ b/module/kanban/model.php @@ -810,7 +810,7 @@ class kanbanModel extends model } elseif($branchID == 'all') { - $branches = $this->branch->getPairs($product->id); + $branches = $this->branch->getPairs($product->id, 'active'); } elseif($branchID == BRANCH_MAIN) { diff --git a/module/productplan/control.php b/module/productplan/control.php index 472483c718..f522cd61cc 100644 --- a/module/productplan/control.php +++ b/module/productplan/control.php @@ -358,7 +358,7 @@ class productplan extends control else { $planGroup = $this->productplan->getGroupByProduct($product->id, 'skipParent', '', $orderBy); - $branches = $this->branch->getPairs($product->id); + $branches = $this->branch->getPairs($product->id, 'active'); foreach($branches as $id => $name) {