diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-03-06 18:31:08 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-03-06 18:31:08 +0200 |
commit | 8634d0d5c1a8c7c1dc0aa735bb7bd450ca6c9b86 (patch) | |
tree | 90add1c180415f1a91b0a3404049272d80028865 | |
parent | 9ff75e6a6f7ada371fb1c0905a6e5b24d41504e4 (diff) | |
download | gitlab-ce-8634d0d5c1a8c7c1dc0aa735bb7bd450ca6c9b86.tar.gz |
Sort projects by activity at group show page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r-- | app/controllers/groups_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb index ebddf36de97..a3019b3ac78 100644 --- a/app/controllers/groups_controller.rb +++ b/app/controllers/groups_controller.rb @@ -100,7 +100,7 @@ class GroupsController < ApplicationController end def projects - @projects ||= ProjectsFinder.new.execute(current_user, group: group) + @projects ||= ProjectsFinder.new.execute(current_user, group: group).sorted_by_activity.non_archived end def project_ids |