about summary refs log tree commit diff
path: root/app/views/admin
diff options
context:
space:
mode:
authorGomasy <nyan@gomasy.jp>2022-03-21 12:45:58 +0900
committerGitHub <noreply@github.com>2022-03-21 04:45:58 +0100
commitcf5435bb27b38f317d7d02de4df49c517614b4be (patch)
tree6eea7d355822a7500dd1a81e23a744008205c7a1 /app/views/admin
parentc0e3b20c58cefd3625bb3c96544ddc2d53a7439c (diff)
Fix being unable to search by domain (#17832)
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/accounts/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/accounts/index.html.haml b/app/views/admin/accounts/index.html.haml
index 7c0045145..60e4894d0 100644
--- a/app/views/admin/accounts/index.html.haml
+++ b/app/views/admin/accounts/index.html.haml
@@ -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}")