about summary refs log tree commit diff
path: root/app/views/admin/tags/index.html.haml
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-01-20 19:20:40 +0100
committerGitHub <noreply@github.com>2020-01-20 19:20:40 +0100
commita8c109baca4d02cc8aed454e231518c1f8ec1844 (patch)
treea828f3968b151924656061bfc709b00565aff877 /app/views/admin/tags/index.html.haml
parentddcf78d8d3e2a8cb9aa04f8ff42f9d8e185b0354 (diff)
parentdc2ab6e646bb721ef2e1be268b876bd00e8fa802 (diff)
Merge pull request #1264 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/views/admin/tags/index.html.haml')
-rw-r--r--app/views/admin/tags/index.html.haml5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/admin/tags/index.html.haml b/app/views/admin/tags/index.html.haml
index aa4f4c297..d20ed80f8 100644
--- a/app/views/admin/tags/index.html.haml
+++ b/app/views/admin/tags/index.html.haml
@@ -25,7 +25,7 @@
 
 = form_tag admin_tags_url, method: 'GET', class: 'simple_form' do
   .fields-group
-    - Admin::FilterHelper::TAGS_FILTERS.each do |key|
+    - TagFilter::KEYS.each do |key|
       = hidden_field_tag key, params[key] if params[key].present?
 
     - %i(name).each do |key|
@@ -40,9 +40,8 @@
 
 = form_for(@form, url: batch_admin_tags_path) do |f|
   = hidden_field_tag :page, params[:page] || 1
-  = hidden_field_tag :name, params[:name] if params[:name].present?
 
-  - Admin::FilterHelper::TAGS_FILTERS.each do |key|
+  - TagFilter::KEYS.each do |key|
     = hidden_field_tag key, params[key] if params[key].present?
 
   .batch-table.optional