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

list_departures and list_durations in ptna_trips should be sorted correctly #9

Closed
osm-ToniE opened this issue Feb 10, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@osm-ToniE
Copy link
Owner

ptna-www repo shows the "Service Times"

  • departure times sorted by time
  • as is for the durations

--> departure times and durations do not fit together when departure times were unsorted and # of durations times > 1

Fix this in this repo rather than in ptna-www

ptna-www will rely on those lists being sorted and well aligned - well not sort again

@osm-ToniE osm-ToniE self-assigned this Feb 10, 2023
@osm-ToniE osm-ToniE added the bug Something isn't working label Feb 10, 2023
@osm-ToniE osm-ToniE changed the title list_departured and list_duration in ptna_trips should be sorted correctly list_departures and list_durations in ptna_trips should be sorted correctly Feb 10, 2023
@osm-ToniE
Copy link
Owner Author

Fixed by using a table in a temporary DB, query all data be trip_id and sort those rows by departure time

osm-ToniE added a commit that referenced this issue Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant