From: Peter Amstutz Date: Fri, 1 Apr 2022 20:50:46 +0000 (-0400) Subject: 18943: Adjust default ordering of results to account for index order X-Git-Tag: 2.5.0~229^2~7 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/5239de634d8c3277024be6e1c1bf1dc049d2bdf0 18943: Adjust default ordering of results to account for index order Arvados-DCO-1.1-Signed-off-by: Peter Amstutz --- diff --git a/services/api/app/models/arvados_model.rb b/services/api/app/models/arvados_model.rb index 327bf63b5f..07a31d81a8 100644 --- a/services/api/app/models/arvados_model.rb +++ b/services/api/app/models/arvados_model.rb @@ -220,7 +220,7 @@ class ArvadosModel < ApplicationRecord end def self.default_orders - ["#{table_name}.modified_at desc", "#{table_name}.uuid"] + ["#{table_name}.modified_at desc", "#{table_name}.uuid desc"] end def self.unique_columns