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

Regression from #11829
lolsob-rspec
Eugen Rochko 2019-09-27 02:13:51 +02:00 committed by GitHub
parent 67796a267d
commit c41cd0d8f6
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