We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you add a Route in a School that already exists, the index is not correctly linked to it's Sector, School and Location.
Here's an example:
Should be sectors: [0, 1]
The sectors are correctly added:
The text was updated successfully, but these errors were encountered:
The same happens when you add a new route to an existing sector
Sorry, something went wrong.
opujade
Successfully merging a pull request may close this issue.
Routes are not linked correctly with it's sectors, schools and locations.
Here's an example:
1. I add this route:
It is correctly added:
2. See what happens if I add another one to the same Location and School (for example):
It doesn't Change:
Why? Because sectors array in school's object is'nt updated correctly:
Should be sectors: [0, 1]
The sectors are correctly added:
![image](https://private-user-images.githubusercontent.com/146122361/346114162-32a0b4c8-3524-45c8-8645-8b5e34eaf67a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzgyMzQyOTYsIm5iZiI6MTczODIzMzk5NiwicGF0aCI6Ii8xNDYxMjIzNjEvMzQ2MTE0MTYyLTMyYTBiNGM4LTM1MjQtNDVjOC04NjQ1LThiNWUzNGVhZjY3YS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMTMwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDEzMFQxMDQ2MzZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jZDljMWZlYzVkNjEzNjQzN2RlMjc3NjlmZTJlZWRhYWM0ZTc1MGMzNzg3YjRjY2U4ZDBmNjU0MDY5MWUxMWI3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.OI4SFMfDPTkhtMGzdMOPbFWLjfd7B2pl6L4aiAd_Os4)
Conclusion:
There's something wrong when adding a new sector in the schools array.
The text was updated successfully, but these errors were encountered: