* Finish task #76949.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user