* adjust the search feature.

This commit is contained in:
wangchunsheng
2010-09-13 12:05:40 +00:00
parent d33adc5993
commit ddb7f3eadd
2 changed files with 5 additions and 3 deletions
+2
View File
@@ -100,6 +100,8 @@ class testcase extends control
}
/* 构造搜索表单。*/
$this->config->testcase->search['params']['product']['values']= array($productID => $this->products[$productID], 'all' => $this->lang->testcase->allProduct);
$this->config->testcase->search['params']['module']['values'] = $this->loadModel('tree')->getOptionMenu($productID, $viewType = 'case');
$this->config->testcase->search['actionURL'] = $this->createLink('testcase', 'browse', "productID=$productID&browseType=bySearch&queryID=myQueryID");
$this->config->testcase->search['queryID'] = $queryID;
$this->view->searchForm = $this->fetch('search', 'buildForm', $this->config->testcase->search);