* Fix issue #673.
This commit is contained in:
@@ -3842,10 +3842,10 @@ 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($from == 'execution') $this->session->set('taskSearchValue', $searchValue);
|
||||
if($from == 'RD') $this->session->set('rdSearchValue', $searchValue);
|
||||
if($lastEditedTime > $enterTime or $groupBy != 'default' or !empty($searchValue))
|
||||
{
|
||||
if($from == 'execution') $this->session->set('taskSearchValue', $searchValue);
|
||||
if($from == 'RD') $this->session->set('rdSearchValue', $searchValue);
|
||||
$kanbanGroup = $from == 'execution' ? $this->loadModel('kanban')->getExecutionKanban($executionID, $browseType, $groupBy, $searchValue) : $this->loadModel('kanban')->getRDKanban($executionID, $browseType, 'id_asc', 0, $groupBy, $searchValue);
|
||||
return print(json_encode($kanbanGroup));
|
||||
}
|
||||
|
||||
@@ -1674,6 +1674,7 @@ function searchCards(value)
|
||||
if(rdSearchValue != '' && groupBy == 'default' && data.laneCount != 0) $(this).parent().show();
|
||||
if(rdSearchValue != '' && groupBy == 'default' && data.laneCount == 0) $(this).parent().hide();
|
||||
|
||||
$(this).empty();
|
||||
hideAll = !updateRegion(regionID, data) && hideAll;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user