HSLdevcom / transitlog-ui

UI for transitlog
GNU Affero General Public License v3.0
0 stars 1 forks source link

Fix changing exception day departures #807

Open ahjyrkia opened 8 months ago

ahjyrkia commented 8 months ago

If scheduled departures for exception days are modified they might all be visible in the UI. Solution could be to clear the existing exception day departure data from the db when departures for that particular exception day are modified. For example if we receive new departures for exception day "2K" we would want to delete all departure rows for "2K" before inserting the new data.

Image