Skip to content

Commit

Permalink
Fixes Display Users failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Scherz committed Apr 6, 2024
1 parent 09660eb commit 6358680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/display_users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def index

def search(query)
clause = query.blank? ? nil : "%" + query.downcase.strip + "%"
base = ::User.where(*base_query)
base = ::User.all
if clause.present?
base = base.where("#{Devise.authentication_keys.first} like lower(?)
OR display_name like lower(?)
Expand Down

0 comments on commit 6358680

Please sign in to comment.