-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Fix map markers calls on api #112
Comments
loggers were added to test different cases of with and without search, it turns out this is an issue with the front end making multiple calls. See issue bahnzumberg/zuugle-suchseite#331 |
Done: code checked and found the markers query is being properly done in both cases. |
Added a NOTNULL condition for the markers query . So we would not have NULL values for the connection_arrival_stop_lon or connection_arrival_stop_lat sent to the FE. |
on our meeting 31st May, the decision was to fix the data , so that we do not face the case when number of results for card container is different from the number of markers on the map. We also agreed to maintain the safe-guards (on api at least) for when such a case does come about. |
Make sure that the calls for markers array is being done properly in both cases when search-term is there (raw knex query) and in case search-term is not included
The text was updated successfully, but these errors were encountered: