* Performance for execution task.

This commit is contained in:
zhujinyong
2023-11-28 11:15:32 +08:00
parent bdf4172fe4
commit 1bad87c15e
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -202,7 +202,6 @@ class execution extends control
$pager = new pager($recTotal, $recPerPage, $pageID);
/* Get tasks. */
$allTasks = $this->task->getExecutionTasks($executionID);
$tasks = $this->execution->getTasks($productID, $executionID, $this->executions, $browseType, $queryID, $moduleID, $sort, $pager);
if(empty($tasks) and $pageID > 1)
{
@@ -235,7 +234,7 @@ class execution extends control
/* Assign. */
$this->view->tasks = $tasks;
$this->view->allTasks = $allTasks;
$this->view->hasTasks = !empty($tasks) || !empty($this->task->getExecutionTasks($executionID));
$this->view->summary = $this->execution->summary($tasks);
$this->view->tabID = 'task';
$this->view->pager = $pager;