From 6291e883bc30ccdeaf37338febea9a640467f5d7 Mon Sep 17 00:00:00 2001 From: cedricnjanga Date: Mon, 31 Jul 2017 17:32:18 +0200 Subject: Refs #4005 Period filters for time_table and referentials --- 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 0054963c9..2ff7a2c3a 100644 --- a/app/controllers/time_tables_controller.rb +++ b/app/controllers/time_tables_controller.rb @@ -161,7 +161,6 @@ class TimeTablesController < ChouetteController private def ransack_periode scope return scope unless params[:q] - return scope unless params[:q]['end_date_lteq(1i)'].present? begin_range = flatten_date('start_date_gteq') end_range = flatten_date('end_date_lteq') -- cgit v1.2.3