Browse Source

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

Regression from #11829
master
Eugen Rochko 5 years ago
committed by GitHub
parent
commit
7a39671d46
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      app/views/admin/tags/index.html.haml

+ 4
- 2
app/views/admin/tags/index.html.haml View File

@ -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

Loading…
Cancel
Save