Merge commit 'bc75e62ca6
' into kb_migration
This commit is contained in:
commit
646e3a6d89
13 changed files with 148 additions and 144 deletions
|
@ -55,7 +55,7 @@ class AccountFilter
|
|||
when 'by_domain'
|
||||
Account.where(domain: value.to_s.strip)
|
||||
when 'username'
|
||||
Account.matches_username(value.to_s.strip)
|
||||
Account.matches_username(value.to_s.strip.delete_prefix('@'))
|
||||
when 'display_name'
|
||||
Account.matches_display_name(value.to_s.strip)
|
||||
when 'email'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue