Skip to content

Check that queries have time in range before adding to query list#264

Merged
aharpalaniTO merged 1 commit intodeployfrom
exclude-no-time-queries
Mar 31, 2026
Merged

Check that queries have time in range before adding to query list#264
aharpalaniTO merged 1 commit intodeployfrom
exclude-no-time-queries

Conversation

@Nate-Wessel
Copy link
Copy Markdown
Member

Resolves #261

Before adding a newly constructed travel time query to the list to be queried, this checks that some time is in range for that query.

This means you can set up an impossible combination like the following and it just won't register. In this case the DateRange covers just one weekend but the day of week selection is weekdays only.

Screenshot 2026-03-27 at 16-02-53 Travel Time Request App

Toggling on one of the weekend days allows this to be submitted.

This will also fix the problem as discovered in #259 where dates can be excluded.

@aharpalaniTO aharpalaniTO merged commit f0f58aa into deploy Mar 31, 2026
1 check passed
@aharpalaniTO aharpalaniTO deleted the exclude-no-time-queries branch March 31, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Results download not displayed if one of the travelTimeQueries has no time in range

2 participants