* Finish task #76949.

This commit is contained in:
Yagami
2022-11-21 14:39:01 +08:00
parent 07b30d1f7c
commit d2c3dbd5d0
+5
View File
@@ -76,6 +76,11 @@ class design extends control
$this->session->set('reviewList', $this->app->getURI(true), 'project');
/* Build the search form. */
$products = $this->product->getProductPairsByProject($projectID);
$productIdList = $productID ? $productID : array_keys($products);
$stories = $this->loadModel('story')->getProductStoryPairs($productIdList, 'all', 0, 'active', 'id_desc', 0, 'full', 'story', false);
$this->config->design->search['params']['story']['values'] = $stories;
$queryID = ($type == 'bySearch') ? (int)$param : 0;
$actionURL = $this->createLink('design', 'browse', "projectID=$projectID&productID=$productID&type=bySearch&queryID=myQueryID");
$this->design->buildSearchForm($queryID, $actionURL);