Permalink
Browse files

Sort projects by activity at group show page

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
  • Loading branch information...
1 parent 9ff75e6 commit 8634d0d5c1a8c7c1dc0aa735bb7bd450ca6c9b86 @dzaporozhets dzaporozhets committed Mar 6, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/groups_controller.rb
@@ -100,7 +100,7 @@ def group
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

0 comments on commit 8634d0d

Please sign in to comment.