Commit b487fb18 authored by Yorick Peterse's avatar Yorick Peterse

Removed usage of GroupsFinder

The GroupsFinder class was removed from CE as it's no longer needed.
parent 7d415465
...@@ -80,7 +80,7 @@ class GroupsController < Groups::ApplicationController ...@@ -80,7 +80,7 @@ class GroupsController < Groups::ApplicationController
end end
def autocomplete def autocomplete
groups = GroupsFinder.new.execute(current_user).search(params[:search]).limit(params[:per_page]) groups = Group.search(params[:search]).limit(params[:per_page])
render json: groups.to_json render json: groups.to_json
end end
......
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