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) {