+ [task#152183] fix bug for search task in mr.

This commit is contained in:
liyang
2025-11-11 08:00:49 +08:00
parent 261b54dfed
commit 9d6caa326d
2 changed files with 2 additions and 3 deletions
+1 -3
View File
@@ -30,7 +30,7 @@ $footToolbar = array(
searchForm
(
set::module('task'),
set::module('mrTask'),
set::simple(true),
set::show(true),
set::extraHeight('+144'),
@@ -62,5 +62,3 @@ dtable
set::footer(array('checkbox', 'toolbar', array('html' => html::a(inlink('link', "MRID=$MRID&type=task"), $lang->goback, '', "class='btn size-sm'")), 'flex', 'pager')),
set::footPager(usePager())
);
render();
+1
View File
@@ -171,6 +171,7 @@ class mrZen extends mr
*/
protected function buildLinkTaskSearchForm(int $MRID, int $repoID, string $orderBy, int $queryID, array $productExecutions)
{
$this->config->execution->search['module'] = 'mrTask';
$this->config->execution->search['actionURL'] = $this->createLink($this->app->rawModule, 'linkTask', "MRID={$MRID}&repoID={$repoID}&browseType=bySearch&param=myQueryID&orderBy={$orderBy}");
$this->config->execution->search['queryID'] = $queryID;
$this->config->execution->search['params']['execution']['values'] = array_filter($productExecutions);