diff options
| author | Teddy Wing | 2017-05-31 16:49:22 +0200 |
|---|---|---|
| committer | Teddy Wing | 2017-05-31 17:57:36 +0200 |
| commit | b5fc278ecb1b59930614a03241e7463f128e8c75 (patch) | |
| tree | 2f8ef8fcd95c42c40ef9b96a2ed7a17716aa810f /lib/sql/clone_schema.sql | |
| parent | 52531e2910b3db6ac2a7c5fedbc14b0be54782dc (diff) | |
| download | chouette-core-b5fc278ecb1b59930614a03241e7463f128e8c75.tar.bz2 | |
VehicleJourney: Set at-stop day offsets when saving
Add a new `before_validation` filter that calls into the day offsetter
(`VehicleJourneyAtStopsDayOffset`) to set the correct
`arrival_day_offset` and `departure_day_offset`s on each
VehicleJourneyAtStop in the VehicleJourney.
Doing so ensures that the values are always up to date when the vehicle
journey is updated.
Refs #3596
Diffstat (limited to 'lib/sql/clone_schema.sql')
0 files changed, 0 insertions, 0 deletions
