aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/helpers/widget_properties_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/helpers/widget_properties_helper.rb b/sonar-server/src/main/webapp/WEB-INF/app/helpers/widget_properties_helper.rb
index 9ac91abcbac..f2e8f19a8a3 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/helpers/widget_properties_helper.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/helpers/widget_properties_helper.rb
@@ -30,7 +30,7 @@ module WidgetPropertiesHelper
visible_qualifiers=Java::OrgSonarServerUi::JRubyFacade.getInstance().getQualifiersWithProperty('supportsGlobalDashboards')
visible_qualifiers.each do |qualifier|
- projects = Project.all(:conditions => {:qualifier => qualifier, :enabled => true})
+ projects = Project.all(:conditions => {:qualifier => qualifier, :enabled => true, :copy_resource_id => nil})
unless projects.nil? || projects.empty?
sorted_projects = Api::Utils.insensitive_sort(projects, &:name)