summaryrefslogtreecommitdiffstats
path: root/sonar-core/src
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-01-07 11:09:04 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-01-07 11:09:15 +0100
commit9df884da8bb020eddbb5e02943865bc870c9e71f (patch)
treebf0e295488293ccc7fc41b41d74039b354a06736 /sonar-core/src
parent9b0c99c8bac3df89a8e2eaaed39b00fbc04edf63 (diff)
downloadsonarqube-9df884da8bb020eddbb5e02943865bc870c9e71f.tar.gz
sonarqube-9df884da8bb020eddbb5e02943865bc870c9e71f.zip
SONAR-4923 Search all profiles should be sorted by profile name and by language
Diffstat (limited to 'sonar-core/src')
-rw-r--r--sonar-core/src/main/resources/org/sonar/core/qualityprofile/db/QualityProfileMapper.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-core/src/main/resources/org/sonar/core/qualityprofile/db/QualityProfileMapper.xml b/sonar-core/src/main/resources/org/sonar/core/qualityprofile/db/QualityProfileMapper.xml
index 3c80702667c..12943752f23 100644
--- a/sonar-core/src/main/resources/org/sonar/core/qualityprofile/db/QualityProfileMapper.xml
+++ b/sonar-core/src/main/resources/org/sonar/core/qualityprofile/db/QualityProfileMapper.xml
@@ -15,7 +15,7 @@
<select id="selectAll" parameterType="map" resultType="QualityProfile">
SELECT <include refid="profilesColumns"/>
FROM rules_profiles p
- ORDER BY p.name
+ ORDER BY p.name, p.language
</select>
<select id="selectByNameAndLanguage" parameterType="map" resultType="QualityProfile">