From 4df0a72fcd26b083c626d0ca97dc13107e90a806 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Wed, 9 Nov 2016 11:02:28 +0100 Subject: [PATCH] SONAR-8381 Remove links to All Views and All Developers from the search --- .../src/main/js/main/nav/global/search-view.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/server/sonar-web/src/main/js/main/nav/global/search-view.js b/server/sonar-web/src/main/js/main/nav/global/search-view.js index 822d55a524b..98b0c7cb3c8 100644 --- a/server/sonar-web/src/main/js/main/nav/global/search-view.js +++ b/server/sonar-web/src/main/js/main/nav/global/search-view.js @@ -179,16 +179,7 @@ export default Marionette.LayoutView.extend({ const favorite = _.first(this.favorite, 6).map(function (f, index) { return _.extend(f, { extra: index === 0 ? translate('favorite') : null }); }); - const qualifiers = this.model.get('qualifiers') - .filter(q => q !== 'TRK') - .map(function (q, index) { - return { - url: window.baseUrl + '/all_projects?qualifier=' + encodeURIComponent(q), - name: translate('qualifiers.all', q), - extra: index === 0 ? '' : null - }; - }); - this.results.reset([].concat(history, favorite, qualifiers)); + this.results.reset([].concat(history, favorite)); }, search (q) { -- 2.39.5