* [perf story #75387] Adjust for getDynamic method.
This commit is contained in:
@@ -2620,7 +2620,7 @@ class execution extends control
|
||||
$date = empty($date) ? '' : date('Y-m-d', (int)$date);
|
||||
$actions = $this->loadModel('action')->getDynamicByExecution($executionID, $account, $period, $orderBy, 50, $date, $direction);
|
||||
$dateGroups = $this->action->buildDateGroup($actions, $direction);
|
||||
if(empty($recTotal) && $dateGroups) $recTotal = count($dateGroups) < 2 ? count($dateGroups, 1) - count($dateGroups) : $this->action->getDynamicCount();
|
||||
if(empty($recTotal) && $dateGroups) $recTotal = $this->action->getDynamicCount();
|
||||
|
||||
$this->view->title = $execution->name . $this->lang->hyphen . $this->lang->execution->dynamic;
|
||||
$this->view->userIdPairs = $this->loadModel('user')->getTeamMemberPairs($executionID, 'execution', 'nodeleted|useid');
|
||||
|
||||
Reference in New Issue
Block a user