* [refac bug #63624] Adjust for get dynamic count.

This commit is contained in:
wangyidong
2025-06-25 09:52:57 +08:00
parent 1d117c07e7
commit 5286741bb2
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -2623,7 +2623,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 = $this->action->getDynamicCount();
if(empty($recTotal) && $dateGroups) $recTotal = $this->action->getDynamicCount($period);
$this->view->title = $execution->name . $this->lang->hyphen . $this->lang->execution->dynamic;
$this->view->userIdPairs = $this->loadModel('user')->getTeamMemberPairs($executionID, 'execution', 'nodeleted|useid');