diff --git a/module/execution/ui/all.html.php b/module/execution/ui/all.html.php index b02e6d09c0..051b244a99 100644 --- a/module/execution/ui/all.html.php +++ b/module/execution/ui/all.html.php @@ -56,7 +56,7 @@ featureBar ( set::current($status), set::linkParams("status={key}"), - li(searchToggle()) + li(searchToggle(set::open($status == 'bySearch'))) ); /* zin: Define the toolbar on main menu. */ diff --git a/module/execution/ui/build.html.php b/module/execution/ui/build.html.php index d4f55ad671..87b15a4421 100644 --- a/module/execution/ui/build.html.php +++ b/module/execution/ui/build.html.php @@ -28,7 +28,7 @@ featureBar on::change('changeProduct') ) ), - li(searchToggle(set::module('executionBuild'))) + li(searchToggle(set::module('executionBuild'), set::open($type == 'bysearch'))) ); /* zin: Define the toolbar on main menu. */ diff --git a/module/execution/ui/story.html.php b/module/execution/ui/story.html.php index 89b1b08c80..69ec558ba5 100644 --- a/module/execution/ui/story.html.php +++ b/module/execution/ui/story.html.php @@ -16,7 +16,7 @@ featureBar ( set::current($this->session->storyBrowseType), set::link(createLink($app->rawModule, $app->rawMethod, "&executionID=$execution->id&storyType=$storyType&orderBy=$orderBy&type={key}")), - li(searchToggle(set::module('executionStory'))) + li(searchToggle(set::module('executionStory'), set::open($type == 'bysearch'))) ); jsVar('executionID', $execution->id); diff --git a/module/execution/ui/testcase.html.php b/module/execution/ui/testcase.html.php index 958a8a590e..318460577c 100644 --- a/module/execution/ui/testcase.html.php +++ b/module/execution/ui/testcase.html.php @@ -15,7 +15,7 @@ featureBar ( set::current($type), set::linkParams("executionID={$executionID}&productID={$productID}&branchID={$branchID}&type={key}¶m=0&moduleID={$moduleID}&orderBy={$orderBy}&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}&pageID={$pager->pageID}"), - li(searchToggle(set::module('executionCase'))) + li(searchToggle(set::module('executionCase'), set::open($type == 'bysearch'))) ); /* zin: Define the toolbar on main menu. */ diff --git a/module/project/ui/build.html.php b/module/project/ui/build.html.php index 704f1cda93..8e35fcebde 100644 --- a/module/project/ui/build.html.php +++ b/module/project/ui/build.html.php @@ -32,7 +32,7 @@ featureBar set::module('project'), set::method('build'), $changeProductBox, - li(searchToggle(set::module('projectBuild'))) + li(searchToggle(set::module('projectBuild'), set::open($type == 'bysearch'))) ); /* zin: Define the toolbar on main menu. */