]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5718 Change links inside widget in order to use new projectUuid parameter
authorStas Vilchik <vilchiks@gmail.com>
Tue, 4 Nov 2014 17:03:06 +0000 (18:03 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Tue, 4 Nov 2014 17:03:15 +0000 (18:03 +0100)
plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/my_unresolved_issues.html.erb
plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/unresolved_issues_per_assignee.html.erb
plugins/sonar-core-plugin/src/main/resources/org/sonar/plugins/core/widgets/issues/unresolved_issues_statuses.html.erb

index 977957d4dbebffd3a3524d64c14f8b0e8237505a..8dd860ff7acf0591b63650c84d975194feabfe5d 100644 (file)
@@ -2,7 +2,7 @@
    if current_user && (!@project || has_role?(:user, @project))
 
      search_options = {}
-     search_options['componentRootUuids'] = @project.uuid if @project
+     search_options['projectUuids'] = @project.uuid if @project
      search_options['resolved'] = 'false'
      search_options['assignees'] = current_user.login
      
index 27c8e54c8bfd8f3601f165d713953a460641749a..f7b61a024b3c109a7cb21c958ea1d48fd2e0878c 100644 (file)
@@ -1,7 +1,7 @@
 <%
     options = {}
     options['resolved'] = 'false'
-    options['componentRootUuids'] = @project.uuid
+    options['projectUuids'] = @project.uuid
     if @dashboard_configuration.selected_period?
       options['createdAfter'] = Api::Utils.format_datetime(@dashboard_configuration.from_datetime)
       options['createdBefore'] = Api::Utils.format_datetime(DateTime.now)
index c62ee086c91789d922aff0c2443bb95ae175f03b..0cd1a8d10eec451f2aaea28e7771d92d35e25d78 100644 (file)
@@ -6,7 +6,7 @@
 
    issues_search_options = {}
    issues_search_options['resolved'] = 'false'
-   issues_search_options['componentRootUuids'] = @project.uuid
+   issues_search_options['projectUuids'] = @project.uuid
 %>
 <table width="100%">
   <tr>