]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5086 Fix fetching of issues when action plan is selected
authorStas Vilchik <vilchiks@gmail.com>
Wed, 2 Apr 2014 09:06:15 +0000 (15:06 +0600)
committerStas Vilchik <vilchiks@gmail.com>
Wed, 2 Apr 2014 09:06:24 +0000 (15:06 +0600)
sonar-server/src/main/js/issues/app.js

index 36a93117eb1deadfb22b1a8a8b7348b8e051bc37..57de03ff16ad0966ae3c17e17550600eb1522043 100644 (file)
@@ -344,6 +344,11 @@ requirejs(
               pageIndex: this.issuesPage
             }, query);
 
+        // SONAR-5086
+        if (fetchQuery['actionPlans'] && fetchQuery['componentRoots']) {
+          delete fetchQuery['componentRoots'];
+        }
+
         if (this.issues.sorting) {
           _.extend(fetchQuery, {
             sort: this.issues.sorting.sort,