diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-27 02:13:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-27 02:13:51 +0200 |
commit | 7a39671d4654917849f2f2eecffa12573f24f361 (patch) | |
tree | ea707aa93f5a55f3f3fcba665470f8c052a9d5de | |
parent | add4d4118c33562cf196f2045d6ce3aa309a40a0 (diff) |
Fix hashtag batch actions not redirecting back with right filters (#11962)
Regression from #11829
-rw-r--r-- | app/views/admin/tags/index.html.haml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/admin/tags/index.html.haml b/app/views/admin/tags/index.html.haml index 498b93083..8b1182dbb 100644 --- a/app/views/admin/tags/index.html.haml +++ b/app/views/admin/tags/index.html.haml @@ -43,8 +43,10 @@ = form_for(@form, url: batch_admin_tags_path) do |f| = hidden_field_tag :page, params[:page] || 1 - = hidden_field_tag :context, params[:context] - = hidden_field_tag :review, params[:review] + = hidden_field_tag :name, params[:name] if params[:name].present? + + - Admin::FilterHelper::TAGS_FILTERS.each do |key| + = hidden_field_tag key, params[key] if params[key].present? .batch-table .batch-table__toolbar |