Merge branch 'fix-group-projects-sort' into 'master'
Sort projects by activity at group show page
This commit is contained in:
commit
c4d4481f4c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue