]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5052 Rework top search
authorStas Vilchik <vilchiks@gmail.com>
Wed, 12 Feb 2014 06:24:34 +0000 (12:24 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 12 Feb 2014 06:24:34 +0000 (12:24 +0600)
Add dashboard parameters to url

sonar-server/src/main/webapp/javascripts/top-search.js

index b6bba4a1b6553af13d636839e37fd2b233a6bbcf..ee7c3b5f4ce81b392b41a473741f232658e53599 100644 (file)
@@ -35,7 +35,8 @@
         choose = function() {
           if (selected) {
             var key = selected.data('key');
-            window.location = baseUrl + '/dashboard/index/' + key;
+            window.location = baseUrl + '/dashboard/index/' + key + dashboardParameters();
+            console.log(baseUrl + '/dashboard/index/' + key + dashboardParameters());
           }
         },