* [bug#57565] fix bug for system list in search form.

This commit is contained in:
liyang
2024-11-28 15:45:02 +08:00
committed by 曹延义
parent ae4571c2f4
commit 01c834513d
+1 -1
View File
@@ -976,7 +976,7 @@ class projectModel extends model
$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['params']['product']['values'] = $products;
$this->config->build->search['params']['system']['values'] = $this->loadModel('system')->getPairs();
$this->config->build->search['params']['system']['values'] = $this->loadModel('system')->getPairs($productID, '0');
$this->loadModel('search')->setSearchParams($this->config->build->search);
return true;