]> source.dussan.org Git - sonarqube.git/commitdiff
make selectComponentsHavingSameKeyOrderedById populate all fields 735/head
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Wed, 27 Jan 2016 09:33:59 +0000 (10:33 +0100)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Wed, 27 Jan 2016 13:11:44 +0000 (14:11 +0100)
this is required by Developer Cockpit usage of this method

sonar-db/src/main/resources/org/sonar/db/component/ComponentMapper.xml

index 32087814dbd2ba74fe860b668f7422fc3897700b..ebfb03f5e33dec375c12920bb23f0a118c302001 100644 (file)
@@ -54,7 +54,8 @@
   </select>
 
   <select id="selectComponentsHavingSameKeyOrderedById" parameterType="String" resultType="Component">
-    SELECT id
+    SELECT
+    <include refid="componentColumns"/>
     FROM projects p
     <where>
       AND p.kee=#{key}