aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/lines_helper.rb
diff options
context:
space:
mode:
authorTeddy Wing2017-06-23 11:27:20 +0200
committerTeddy Wing2017-06-23 11:27:20 +0200
commit0b40fcc1328fc8ed242ebad436fede48447e87aa (patch)
tree6efe5c87008db211f65e7522a73b9ae838245f5f /app/helpers/lines_helper.rb
parenta96c4bc40b11baf04d95c125aeb53930f64438a3 (diff)
downloadchouette-core-0b40fcc1328fc8ed242ebad436fede48447e87aa.tar.bz2
VehicleJourney.where_departure_time_between: Make end time inclusive
When filtering vehicle journeys by departure time range, include journeys whose departure times are equal to the end time of the range. Turns out I made a mistake when copying the range from `VehicleJourneysController#ransack_periode_filter`. (Here's what it looked like: 83f143174002ea8d2758d3a3f79fa1b16be9e9eb between = [:departure_time_gteq, :departure_time_lteq].map do |filter| ) Add back in the `<=` to the filter. Refs #3846
Diffstat (limited to 'app/helpers/lines_helper.rb')
0 files changed, 0 insertions, 0 deletions