6277: add default_empty_manifest before_validation filter and update the tests accord...
[arvados.git] / services / api / app / models / api_client_authorization.rb
index 5817ff6648f933d15d34f8c91064bf778712a964..b9442d64e78bf888741e9e47d532f53d73059e22 100644 (file)
@@ -80,6 +80,10 @@ class ApiClientAuthorization < ArvadosModel
     attrs
   end
 
+  def self.default_orders
+    ["#{table_name}.id desc"]
+  end
+
   protected
 
   def permission_to_create