From 381f5df9785d00e38e4155bfd4c1dc3840dde989 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Fri, 19 Jul 2013 17:05:29 +0200 Subject: [PATCH] Fix regression on project settings (was switched to load global settings after update) --- .../main/webapp/WEB-INF/app/controllers/settings_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/settings_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/settings_controller.rb index a1c8b353fab..3e03a23a605 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/settings_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/settings_controller.rb @@ -98,7 +98,7 @@ class SettingsController < ApplicationController end def load_properties - definitions_per_category = java_facade.propertyDefinitions.propertiesByCategory(nil) + definitions_per_category = java_facade.propertyDefinitions.propertiesByCategory(@resource.nil? ? nil : @resource.qualifier) processProperties(definitions_per_category) end -- 2.39.5