From deeccfa9f357c7ad44d5c7b78224b838f7202c06 Mon Sep 17 00:00:00 2001 From: Thomas Haddad Date: Fri, 10 Feb 2017 16:34:21 +0100 Subject: Refs #2500: filter with jp object_id instead of id Signed-off-by: Thomas Shawarma Haddad --- app/views/journey_patterns/show.html.slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/journey_patterns') diff --git a/app/views/journey_patterns/show.html.slim b/app/views/journey_patterns/show.html.slim index 417e4dc16..60729881b 100644 --- a/app/views/journey_patterns/show.html.slim +++ b/app/views/journey_patterns/show.html.slim @@ -45,6 +45,6 @@ h3.journey_pattern_stop_points = t('.stop_points') i.fa.fa-exclamation-triangle li - = link_to t('journey_patterns.journey_pattern.vehicle_journey_at_stops'), referential_line_route_vehicle_journeys_path(@referential, @line, @route, :q => {:journey_pattern_id_eq => @journey_pattern.id}), class: 'clock' + = link_to t('journey_patterns.journey_pattern.vehicle_journey_at_stops'), referential_line_route_vehicle_journeys_path(@referential, @line, @route, :q => {:journey_pattern_id_eq => @journey_pattern.id, :journey_pattern_object_id => @journey_pattern.objectid}), class: 'clock' = creation_tag(@journey_pattern) -- cgit v1.2.3