summaryrefslogtreecommitdiff
path: root/app/finders/users_finder.rb
diff options
context:
space:
mode:
authorCamil Staps <info@camilstaps.nl>2019-01-28 13:19:53 +0100
committerCamil Staps <info@camilstaps.nl>2019-08-07 20:49:14 +0200
commit6baff6504b234e209a5e1d78349dbd2589d5d7e8 (patch)
tree809269461586e00974cb8c309c77aca77b058e49 /app/finders/users_finder.rb
parent91f574b820e03b4abb97a8351e420d1ef24e8505 (diff)
downloadgitlab-ce-6baff6504b234e209a5e1d78349dbd2589d5d7e8.tar.gz
Change sorting options for starrers: name (asc/desc), most/least recent star
Diffstat (limited to 'app/finders/users_finder.rb')
-rw-r--r--app/finders/users_finder.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/finders/users_finder.rb b/app/finders/users_finder.rb
index 2f3fc24b243..81ae50c0bd1 100644
--- a/app/finders/users_finder.rb
+++ b/app/finders/users_finder.rb
@@ -37,7 +37,6 @@ class UsersFinder
users = by_2fa(users)
users = by_created_at(users)
users = by_custom_attributes(users)
- users = by_has_starred(users)
users
end
@@ -95,8 +94,4 @@ class UsersFinder
users
end
end
-
- def by_has_starred(items)
- params[:has_starred].present? ? items.has_starred(params[:has_starred]) : items
- end
end