* Adjust code.

This commit is contained in:
sgm0422
2022-01-13 22:56:11 +08:00
parent 297fd2d674
commit 907f96ecfd
6 changed files with 195 additions and 297 deletions
+1 -1
View File
@@ -3541,7 +3541,7 @@ class execution extends control
$enterTime = date('Y-m-d H:i:s', $enterTime);
$lastEditedTime = $this->dao->select("max(lastEditedTime) as lastEditedTime")->from(TABLE_KANBANLANE)->where('execution')->eq($executionID)->fetch('lastEditedTime');
if($lastEditedTime > $enterTime)
if($lastEditedTime > $enterTime or $groupBy != 'default')
{
$kanbanGroup = $this->loadModel('kanban')->getExecutionKanban($executionID, $browseType, $groupBy);
die(json_encode($kanbanGroup));