Merge branch '280_liuhong_task' into 'zentaopms_277'

* Finish task #80189 for Closed plans are not shown in Kanban.

See merge request easycorp/zentaopms!6651
This commit is contained in:
孙广明
2022-12-29 08:21:31 +00:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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)
{
+1 -1
View File
@@ -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)
{