aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/journey_patterns
diff options
context:
space:
mode:
authorThomas Haddad2017-02-10 16:34:21 +0100
committerThomas Haddad2017-02-10 16:34:21 +0100
commitdeeccfa9f357c7ad44d5c7b78224b838f7202c06 (patch)
tree47b945a2ce19050fc650e0e726ee01abb043ae49 /app/views/journey_patterns
parentb6dedaddf530952dd0f02c2c668c81b9c67c81e5 (diff)
downloadchouette-core-deeccfa9f357c7ad44d5c7b78224b838f7202c06.tar.bz2
Refs #2500: filter with jp object_id instead of id
Signed-off-by: Thomas Shawarma Haddad <thomas.haddad@af83.com>
Diffstat (limited to 'app/views/journey_patterns')
-rw-r--r--app/views/journey_patterns/show.html.slim2
1 files changed, 1 insertions, 1 deletions
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)