Skip to content

Commit

Permalink
Update app/models/queries/filters/shared/user_name_filter.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Klaus Zanders <[email protected]>
  • Loading branch information
oliverguenther and klaustopher authored Mar 11, 2024
1 parent 688e099 commit 7d0b262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/queries/filters/shared/user_name_filter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def sql_value
def sql_concat_name
case Setting.user_format
when :firstname_lastname
"LOWER(CONCAT(users.firstname, CONCAT(' ', users.lastname)))"
"LOWER(CONCAT(users.firstname, ' ', users.lastname))"
when :firstname
'LOWER(users.firstname))'
when :lastname_firstname, :lastname_coma_firstname
Expand Down

0 comments on commit 7d0b262

Please sign in to comment.