projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
18943: Adjust default ordering of results to account for index order
[arvados.git]
/
services
/
api
/
app
/
models
/
arvados_model.rb
diff --git
a/services/api/app/models/arvados_model.rb
b/services/api/app/models/arvados_model.rb
index 327bf63b5fa057779d6d03d99331b179077611db..07a31d81a8a129dc67acb4aa1a7fa8f39e253ea1 100644
(file)
--- 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