diff options
| author | jpl | 2017-03-22 10:27:19 +0100 |
|---|---|---|
| committer | jpl | 2017-03-22 10:28:56 +0100 |
| commit | 87e2ed2375a5fdfc85f42a632cff48168ac22af7 (patch) | |
| tree | c9e32532cc557b9fef4afbe62f6f2153759a209f | |
| parent | ebd6ad86f015e268ae064e6992929c9f30e6a494 (diff) | |
| download | chouette-core-87e2ed2375a5fdfc85f42a632cff48168ac22af7.tar.bz2 | |
Refs #2844: consolidate stopPointsList ordered by position
| -rw-r--r-- | app/controllers/journey_patterns_collections_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/journey_patterns_collections_controller.rb b/app/controllers/journey_patterns_collections_controller.rb index 4d1a06fd3..51cc48c2a 100644 --- a/app/controllers/journey_patterns_collections_controller.rb +++ b/app/controllers/journey_patterns_collections_controller.rb @@ -38,6 +38,7 @@ class JourneyPatternsCollectionsController < ChouetteController :street_name => sp.stop_area.try(:street_name) } end + @stop_points_list = @stop_points_list.sort_by {|a| a[:position] } end def update |
