aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/time_tables_controller.rb
diff options
context:
space:
mode:
authorcedricnjanga2017-10-24 19:10:11 +0200
committercedricnjanga2017-10-24 19:10:11 +0200
commita8ae0d3bf9105b17bfdb6dc22f527140f8edb6dd (patch)
tree50bb2f3af42be39b85c17d070971b218c2b495a5 /app/controllers/time_tables_controller.rb
parent545671efd71380722dbc3272f5f513ea684891bd (diff)
parent2568e7f7553c82adb0bed1521ef9f013df9df87e (diff)
downloadchouette-core-a8ae0d3bf9105b17bfdb6dc22f527140f8edb6dd.tar.bz2
Merge branch 'master' into staging
Diffstat (limited to 'app/controllers/time_tables_controller.rb')
-rw-r--r--app/controllers/time_tables_controller.rb1
1 files changed, 0 insertions, 1 deletions
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)