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

Missing platform numbers for single platform stations #165

Open
ben-fletcher opened this issue Nov 23, 2020 · 0 comments
Open

Missing platform numbers for single platform stations #165

ben-fletcher opened this issue Nov 23, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ben-fletcher
Copy link
Collaborator

Describe the bug
Missing platform numbers for single platform stations

To Reproduce
Steps to reproduce the behavior:

  1. Go to the singleboard view for Warwick(WRW)
  2. You should see no platform details

Expected behaviour
Warwick only has one platform, so it should be smart and set the platform number to be '1'.

To get this information globally, it should use the existing station lookup used for the search to also cache how many platforms the station has. If the station has one platform and the data provided has no platform then we should set the platform to 1

@ben-fletcher ben-fletcher added the bug Something isn't working label Nov 23, 2020
@ben-fletcher ben-fletcher added this to To do in Departure Board via automation Nov 23, 2020
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
Development

No branches or pull requests

2 participants