]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-8381 Remove links to All Views and All Developers from the search
authorStas Vilchik <vilchiks@gmail.com>
Wed, 9 Nov 2016 10:02:28 +0000 (11:02 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 9 Nov 2016 16:34:26 +0000 (17:34 +0100)
server/sonar-web/src/main/js/main/nav/global/search-view.js

index 822d55a524be64ef1068c3dc4b9f8cbd2bed86be..98b0c7cb3c8945bb4ebc44d97b266315ccf633a1 100644 (file)
@@ -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) {