diff options
author | Francisco Javier López <fjlopez@gitlab.com> | 2017-12-04 12:49:53 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-12-04 12:49:53 +0300 |
commit | 7c2b7296d4e623ba4eaa19cf03405ee7f2ae1ca9 (patch) | |
tree | 80784f83c52313797b8cf7e78ccf8db66f0880d8 /app/finders/users_finder.rb | |
parent | c997c95dfca2c3d30f8c7b8ef5f0fd95c1356226 (diff) |
Added default order to UserFinder
Diffstat (limited to 'app/finders/users_finder.rb')
-rw-r--r-- | app/finders/users_finder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/users_finder.rb b/app/finders/users_finder.rb index 1a7e97004fb..edde8022ec9 100644 --- a/app/finders/users_finder.rb +++ b/app/finders/users_finder.rb @@ -25,7 +25,7 @@ class UsersFinder end def execute - users = User.all + users = User.all.order_id_desc users = by_username(users) users = by_search(users) users = by_blocked(users) |