Skip to content

Commit

Permalink
Fix hashtag batch actions not redirecting back with right filters (ma…
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargron authored and hiyuki2578 committed Oct 2, 2019
1 parent 60bdee7 commit c3bfbe2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/views/admin/tags/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c3bfbe2

Please sign in to comment.