From 4bb7669f00b7e6e622f966a11b4c727938838f22 Mon Sep 17 00:00:00 2001 From: Xinhui Date: Tue, 17 Oct 2017 14:54:41 +0200 Subject: Fix time_tables#index tags form should display searched tags on submit Refs #4711 --- app/controllers/time_tables_controller.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'app/controllers/time_tables_controller.rb') diff --git a/app/controllers/time_tables_controller.rb b/app/controllers/time_tables_controller.rb index 2d24d5aa6..af74f635f 100644 --- a/app/controllers/time_tables_controller.rb +++ b/app/controllers/time_tables_controller.rb @@ -130,7 +130,6 @@ class TimeTablesController < ChouetteController scope = select_time_tables if params[:q] && params[:q]["tag_search"] tags = params[:q]["tag_search"].reject {|c| c.empty?} - params[:q].delete("tag_search") scope = select_time_tables.tagged_with(tags, :any => true) if tags.any? end scope = self.ransack_period_range(scope: scope, error_message: t('referentials.errors.validity_period'), query: :overlapping) -- cgit v1.2.3