* Fix bug of search.
This commit is contained in:
@@ -68,7 +68,7 @@ featureBar
|
||||
set::current($type),
|
||||
set::linkParams("taskID={$task->id}&type={key}"),
|
||||
to::before(backBtn(set::icon('back'), set::className('btn secondary'), $lang->goback)),
|
||||
li(searchToggle())
|
||||
li(searchToggle(set::module('testcase'), set::open($type == 'bySearch')))
|
||||
);
|
||||
|
||||
$footToolbar = array('items' => array
|
||||
|
||||
@@ -81,7 +81,7 @@ class testtaskZen extends testtask
|
||||
|
||||
$searchConfig = $this->config->testcase->search;
|
||||
$searchConfig['style'] = 'simple';
|
||||
$searchConfig['actionURL'] = inlink('linkcase', "taskID={$task->id}&type={$type}¶m={$param}");
|
||||
$searchConfig['actionURL'] = inlink('linkcase', "taskID={$task->id}&type=bySearch¶m={$param}");
|
||||
$searchConfig['params']['module']['values'] = $this->loadModel('tree')->getOptionMenu($product->id, 'case', 0, $task->branch);
|
||||
$searchConfig['params']['scene']['values'] = $this->testcase->getSceneMenu($product->id);
|
||||
$searchConfig['params']['product']['values'] = array($product->id => $product->name);
|
||||
|
||||
Reference in New Issue
Block a user