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

Route list filter "has description" returns unexpected results #4276

Open
killakalle opened this issue Jun 16, 2024 · 2 comments
Open

Route list filter "has description" returns unexpected results #4276

killakalle opened this issue Jun 16, 2024 · 2 comments
Labels
2: Bug fix Feature that does not work as intended, broken UI, problem that detract from normal user experience Area: Search and facets Related to internal search function

Comments

@killakalle
Copy link

When searching for routes with description, the results do also show routes without description. The routes without description are even returned as duplicates. (see screenshot)

Search query:
https://www.thecrag.com/es/escalar/spain/bellus/area/2024002464/routes/assert/has-description/?sortby=at,desc

image

@killakalle
Copy link
Author

I've just noticed that these routes just until recently did have descriptions (which maybe helps a developer in understanding why they show up in the results - but it still looks wrong to the user):

image

See stream event:
https://www.thecrag.com/event/9796633131

In any case, the results should also not contain duplicates.

@lordyavin
Copy link

I assume the the problem is that the internal query just checks if an beta record for the route exists. Probably it does not check if the description has text. Deleting the description deletes the text from the beta record but obviously does not delete the beta record itself.

@lordyavin lordyavin added 2: Bug fix Feature that does not work as intended, broken UI, problem that detract from normal user experience Area: Search and facets Related to internal search function labels Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2: Bug fix Feature that does not work as intended, broken UI, problem that detract from normal user experience Area: Search and facets Related to internal search function
Projects
None yet
Development

No branches or pull requests

2 participants