mirror of
https://github.com/SonarSource/sonarqube.git
synced 2024-09-13 15:45:52 +02:00
SONAR-8381 Remove links to All Views and All Developers from the search
This commit is contained in:
parent
1ee9b49c23
commit
4df0a72fcd
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user