Skip to content

Commit

Permalink
Fix being unable to search by domain (mastodon#17832)
Browse files Browse the repository at this point in the history
  • Loading branch information
gomasy authored Mar 21, 2022
1 parent c0e3b20 commit cf5435b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/admin/accounts/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
= hidden_field_tag key, params[key]

- %i(username by_domain display_name email ip).each do |key|
- unless key == :by_domain && params[:remote].blank?
- unless key == :by_domain && params[:origin] != 'remote'
.input.string.optional
= text_field_tag key, params[key], class: 'string optional', placeholder: I18n.t("admin.accounts.#{key}")

Expand Down

0 comments on commit cf5435b

Please sign in to comment.