* [bug#57689] fix bug for search.
This commit is contained in:
@@ -974,9 +974,9 @@ class projectModel extends model
|
||||
|
||||
$this->config->build->search['module'] = $type == 'project' ? 'projectBuild' : 'executionBuild';
|
||||
$this->config->build->search['actionURL'] = helper::createLink($this->app->rawModule, $this->app->rawMethod, "projectID=$projectID&type=bysearch&queryID=myQueryID");
|
||||
$this->config->build->search['queryID'] = $queryID;
|
||||
$this->config->build->search['queryID'] = (int)$queryID;
|
||||
$this->config->build->search['params']['product']['values'] = $products;
|
||||
$this->config->build->search['params']['system']['values'] = $this->loadModel('system')->getPairs((int)$productID, '0');
|
||||
$this->config->build->search['params']['system']['values'] = $this->loadModel('system')->getPairs($queryID ? 0 : (int)$productID, '0');
|
||||
|
||||
$this->loadModel('search')->setSearchParams($this->config->build->search);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user