Fix hashtag batch actions not redirecting back with right filters (#11962)

Regression from #11829
pull/11970/head
Eugen Rochko 2019-09-27 02:13:51 +02:00 committed by GitHub
parent add4d4118c
commit 7a39671d46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -43,8 +43,10 @@
= form_for(@form, url: batch_admin_tags_path) do |f| = form_for(@form, url: batch_admin_tags_path) do |f|
= hidden_field_tag :page, params[:page] || 1 = hidden_field_tag :page, params[:page] || 1
= hidden_field_tag :context, params[:context] = hidden_field_tag :name, params[:name] if params[:name].present?
= hidden_field_tag :review, params[:review]
- Admin::FilterHelper::TAGS_FILTERS.each do |key|
= hidden_field_tag key, params[key] if params[key].present?
.batch-table .batch-table
.batch-table__toolbar .batch-table__toolbar