From ccd8583eb3520f2ba990266348ac5d40179f1d33 Mon Sep 17 00:00:00 2001 From: Yagami Date: Fri, 19 May 2023 09:07:40 +0800 Subject: [PATCH] * Fix bug #35408. --- module/index/js/index.js | 1 + module/index/view/index.html.php | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) 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'):?> - -