aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/time_tables_controller.rb
diff options
context:
space:
mode:
authorcedricnjanga2017-07-12 16:48:27 +0200
committercedricnjanga2017-07-12 16:48:27 +0200
commitbc33eba0f1129a491a56bc9b616f388477489b0b (patch)
treef109d965428b52b7541b5633312d470b126678d5 /app/controllers/time_tables_controller.rb
parent93fe7067883367f841b2d2702302efda8457ca7e (diff)
downloadchouette-core-bc33eba0f1129a491a56bc9b616f388477489b0b.tar.bz2
Remove wild option in timetable tag filter
Diffstat (limited to 'app/controllers/time_tables_controller.rb')
-rw-r--r--app/controllers/time_tables_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/time_tables_controller.rb b/app/controllers/time_tables_controller.rb
index 0b3d704ee..20d500ea9 100644
--- a/app/controllers/time_tables_controller.rb
+++ b/app/controllers/time_tables_controller.rb
@@ -130,7 +130,7 @@ class TimeTablesController < ChouetteController
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, :wild => true, :any => true) if tags.any?
+ scope = select_time_tables.tagged_with(tags, :any => true) if tags.any?
end
scope = ransack_periode(scope)
@q = scope.search(params[:q])