Explorar o código

Merge branch '2.7.x'

Adrian Viesca %!s(int64=7) %!d(string=hai) anos
pai
achega
bb57af2492
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      crss-mq-computation/crss-mq-computation.yml

+ 1 - 1
crss-mq-computation/crss-mq-computation.yml

@@ -122,7 +122,7 @@ crss:
                  mpoint.sein,
                  gen_date AS reading_datetime,
                  gs.id    AS group_schedule_id,
-                 rank() OVER (PARTITION BY cm.mtn_name ORDER BY gs.eff_start_date DESC ) as rank
+                 rank() OVER (PARTITION BY cm.mtn_name ORDER BY gs.eff_start_date desc, gs.created_datetime DESC ) as rank
                 ,
 
                  (