* [bug#64288] fix the issue with the number of tasks.

This commit is contained in:
wangzemei
2025-07-24 08:51:02 +08:00
parent 6d3225d9d9
commit 011d4ff1b0
-5
View File
@@ -2217,11 +2217,6 @@ class taskZen extends task
if($browseType == 'bysearch') $queryID = (int)$param;
if($browseType == 'bymodule') $moduleID = (int)$param;
if($browseType == 'byproduct') $productID = (int)$param;
if($this->app->tab == 'project' && !in_array($browseType, array('bysearch', 'bymodule', 'byproduct')))
{
$moduleID = $this->cookie->moduleBrowseParam ? $this->cookie->moduleBrowseParam : 0;
$productID = $this->cookie->productBrowseParam ? $this->cookie->productBrowseParam : 0;
}
return $this->execution->getTasks((int)$productID, $execution->id, $executions, $browseType, $queryID, (int)$moduleID, 'id_desc');
}