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

Certain filters yield 0 results #4

Open
oliver-daniel opened this issue Jun 1, 2023 — with Slack · 1 comment
Open

Certain filters yield 0 results #4

oliver-daniel opened this issue Jun 1, 2023 — with Slack · 1 comment
Assignees
Labels
bug Something isn't working map issue is in the map subapp

Comments

Copy link
Collaborator

Describe the issue: When you click certain map filters, all the pins disappear from the map despite the values showing up in the Django.
Estimated priority (0 = fix ASAfP, 4 = minor quibble): 0!

Reproducible? Yes. it seems to occurs every time when you select certain filters, regardless of device/browser.

Reproduction steps

When you are on the map page and select certain filters, some display properly (the correct number of pins show up) and other times no pins show up. I tried 2 facets and a few values to give you examples.

Tags where when clicked, the issue does happen (map shows NO pins anywhere in the world)
• Language
◦ Afan Oromo
◦ American Sign Language
• Care Offered
◦ Abortion
◦ Accompaniment for survivors
◦ Art therapy
Tags where when clicked, the issue doesn't happen (map shows pins appropriately)
• Language
◦ Access to interpretation services
◦ Access to translation services
◦ Afrikaans
◦ Amharic
• Care Offered
◦ Abortion referrals
◦ Acupuncture
◦ Advocacy
◦ Andrology
◦ Anonymous HIV testing
• I tested on my MacBook Air with Safari and Chrome, as well as on my Samsung phone with Chrome and it was the same.
MEDIA!!!!!!!! Didn't bother, it's either pins or an empty map, nothing interesting visually.
Expected behaviour (if relevant):
Every filter when selected should show at least 1 pin.
Extra details (if relevant):
• I checked to see if it was only tags that appeared in Django once that did not display pins, bc it seemed like that at first, but it didn't track.
• I have no more ideas to offer on what is causing this. I can't find the connection.

Slack Message

@oliver-daniel oliver-daniel added the bug Something isn't working label Jun 1, 2023 — with Slack
@oliver-daniel oliver-daniel self-assigned this Jun 1, 2023
@oliver-daniel oliver-daniel added the map issue is in the map subapp label Jun 1, 2023
@oliver-daniel
Copy link
Collaborator Author

The ultimate issue at hand is that Django and Meilisearch can get their databases of service details desync'd over time, and if a service is not registered as having a (rare) tag, then the tag will yield zero results.

The defect has been temporarily resolved on the live site, but this desyncing must be addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working map issue is in the map subapp
Projects
Status: In Progress
Development

No branches or pull requests

1 participant