From: Gomasy Date: Mon, 21 Mar 2022 03:45:58 +0000 (+0900) Subject: Fix being unable to search by domain (#17832) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=cf5435bb27b38f317d7d02de4df49c517614b4be;p=mastodon.git Fix being unable to search by domain (#17832) --- 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}")