Commit 8634d0d5 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Sort projects by activity at group show page

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 9ff75e6a
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment