+ [task#152183] fix bug for search task in mr.
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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¶m=myQueryID&orderBy={$orderBy}");
|
||||
$this->config->execution->search['queryID'] = $queryID;
|
||||
$this->config->execution->search['params']['execution']['values'] = array_filter($productExecutions);
|
||||
|
||||
Reference in New Issue
Block a user