]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7187 WS api/ce/activity order tasks from last submitted to older all the time
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Fri, 26 Feb 2016 15:37:13 +0000 (16:37 +0100)
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>
Fri, 26 Feb 2016 15:37:19 +0000 (16:37 +0100)
sonar-db/src/main/resources/org/sonar/db/ce/CeQueueMapper.xml

index b00fadad36a28381cd525e72c23127d3ee4356b1..b8c4f5bf6ee4cd7ec9fa6e1263e29541dc10beb3 100644 (file)
@@ -19,7 +19,7 @@
   </sql>
 
   <sql id="orderByDescDateAndId">
-    order by cq.created_at desc, cq.id asc
+    order by cq.created_at desc, cq.id desc
   </sql>
 
   <select id="selectByUuid" parameterType="String" resultType="org.sonar.db.ce.CeQueueDto">