summaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-06-08 14:04:22 +0200
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2015-06-08 14:04:22 +0200
commit559fbe8967fa190f898d18a385c965bfbf02e92c (patch)
treedca285754677756f723bb2ede157108c040cad8d /sonar-core
parentb94a2e555ec5392412e46d59fbf40be6d4cb07ca (diff)
downloadsonarqube-559fbe8967fa190f898d18a385c965bfbf02e92c.tar.gz
sonarqube-559fbe8967fa190f898d18a385c965bfbf02e92c.zip
SONAR-6570 fix metrics search concerning MySql order
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/resources/org/sonar/core/metric/db/MetricMapper.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-core/src/main/resources/org/sonar/core/metric/db/MetricMapper.xml b/sonar-core/src/main/resources/org/sonar/core/metric/db/MetricMapper.xml
index 56f4ec6c2a5..94d8727cada 100644
--- a/sonar-core/src/main/resources/org/sonar/core/metric/db/MetricMapper.xml
+++ b/sonar-core/src/main/resources/org/sonar/core/metric/db/MetricMapper.xml
@@ -45,7 +45,7 @@
</if>
</if>
</where>
- ORDER BY UPPER(m.short_name)
+ ORDER BY UPPER(m.short_name), m.short_name
</select>
<select id="countCustom" resultType="Integer">
SELECT COUNT(*)