Sort projects by activity at group show page
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
9ff75e6a6f
commit
8634d0d5c1
|
|
@ -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