From 0558601e48e0440887ae597a64c314676bb1e138 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Mon, 2 Jun 2014 15:14:15 -0400 Subject: [PATCH] 2872: Change default order of folder contents. refs #2872 --- .../api/app/controllers/arvados/v1/groups_controller.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/services/api/app/controllers/arvados/v1/groups_controller.rb b/services/api/app/controllers/arvados/v1/groups_controller.rb index 4bccbcc710..da82e81ef8 100644 --- a/services/api/app/controllers/arvados/v1/groups_controller.rb +++ b/services/api/app/controllers/arvados/v1/groups_controller.rb @@ -20,9 +20,10 @@ class Arvados::V1::GroupsController < ApplicationController offset_all = @offset @orders = [] - [Group, Job, PipelineInstance, PipelineTemplate, - Human, Specimen, Trait, - Collection].each do |klass| + [Group, + Job, PipelineInstance, PipelineTemplate, + Collection, + Human, Specimen, Trait].each do |klass| @objects = klass.readable_by(*@read_users) cond_sql = "#{klass.table_name}.owner_uuid = ?" cond_params = [@object.uuid] -- 2.30.2