Commit c4d4481f authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'fix-group-projects-sort' into 'master'

Sort projects by activity at group show page
parents 9ff75e6a 8634d0d5
......@@ -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