aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/nav/search-view.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/nav/search-view.js')
-rw-r--r--server/sonar-web/src/main/js/nav/search-view.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/nav/search-view.js b/server/sonar-web/src/main/js/nav/search-view.js
index e7e4bc9e370..7736cda0a04 100644
--- a/server/sonar-web/src/main/js/nav/search-view.js
+++ b/server/sonar-web/src/main/js/nav/search-view.js
@@ -225,7 +225,7 @@ define([
getGlobalDashboardFindings: function (q) {
var dashboards = this.model.get('globalDashboards') || [],
items = dashboards.map(function (d) {
- return { name: d.name, url: baseUrl + d.url };
+ return { name: d.name, url: baseUrl + '/dashboard/index?did=' + encodeURIComponent(d.key) };
});
var findings = items.filter(function (f) {
return f.name.match(new RegExp(q, 'i'));