Commit 8fd5aeee authored by Phil Hughes's avatar Phil Hughes Committed by Dmitriy Zaporozhets

Fixed filter_projects param still used in group controller

parent 14873c83
...@@ -108,7 +108,7 @@ class GroupsController < Groups::ApplicationController ...@@ -108,7 +108,7 @@ class GroupsController < Groups::ApplicationController
@projects = @projects.sorted_by_activity @projects = @projects.sorted_by_activity
@projects = filter_projects(@projects) @projects = filter_projects(@projects)
@projects = @projects.sort(@sort = params[:sort]) @projects = @projects.sort(@sort = params[:sort])
@projects = @projects.page(params[:page]) if params[:filter_projects].blank? @projects = @projects.page(params[:page]) if params[:name].blank?
end end
def authorize_create_group! def authorize_create_group!
......
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