diff --git a/module/index/js/index.js b/module/index/js/index.js index 0cc24c0e0e..83af33d39b 100644 --- a/module/index/js/index.js +++ b/module/index/js/index.js @@ -916,6 +916,7 @@ function changeSearchObject() if(searchObjectList.indexOf(',' + searchType + ',') == -1) var searchType = 'bug'; if(vision == 'lite') var searchType = 'story'; + if(vision == 'or') var searchType = 'demand'; if(searchType == 'program') var searchType = 'program-product'; if(searchType == 'deploystep') var searchType = 'deploy-viewstep'; diff --git a/module/index/view/index.html.php b/module/index/view/index.html.php index 6b9bd19669..0a6f8bc662 100644 --- a/module/index/view/index.html.php +++ b/module/index/view/index.html.php @@ -23,9 +23,6 @@ js::set('manualText', $lang->manual); js::set('manualUrl', ((!empty($config->isINT)) ? $config->manualUrl['int'] : $config->manualUrl['home']) . '&theme=' . $_COOKIE['theme']); js::set('isAdminUser', $this->app->user->admin); ?> -vision == 'or'):?> - -