Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for deleted trips & including real-time cancelations in trip search #4759

Merged
merged 5 commits into from
Jan 31, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update canceled times in buffer
  • Loading branch information
hannesj committed Jan 23, 2023
commit a712376e950a1e468c7945da838e30223f4e1d62
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ private Result<UpdateSuccess, List<UpdateError>> handleModifiedTrip(
// remove the previously created trip
removePreviousRealtimeUpdate(trip, serviceDate);

if (!tripTimes.isCanceledOrDeleted()) {
if (!tripTimes.isDeleted()) {
// Calculate modified stop-pattern
var modifiedStops = createModifiedStops(
pattern,
Expand Down