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

When searching for shop products check the variant :display_name and :display_as fields too #6121

Merged

Conversation

cillian
Copy link
Contributor

@cillian cillian commented Oct 2, 2020

What? Why?

Closes #5757

What should we test?

See Steps to Reproduce in #5757

Release notes

Fix shop product search so it finds products by their variant names too.

Changelog Category: Fixed

Copy link
Contributor

@luisramos0 luisramos0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌 thanks @cillian

Copy link
Contributor

@Matt-Yorkley Matt-Yorkley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💪

@filipefurtad0 filipefurtad0 self-assigned this Oct 7, 2020
@filipefurtad0 filipefurtad0 added the pr-staged-uk staging.openfoodnetwork.org.uk label Oct 7, 2020
@filipefurtad0
Copy link
Contributor

Hey @cillian ,

I had a look this before and after the PR.

Before staging:

cant_find_variant_nme

After staging:
CAN_find_variant_name

Did a brief sanity check on the search field on openstreet maps as well - these search fields are related in the app, right? - all good here as well.

Thank you for this fix! Ready to go.

PS: I was unaware of the "Pending" status one can attribute to certain test cases. Interesting!

@filipefurtad0 filipefurtad0 removed the pr-staged-uk staging.openfoodnetwork.org.uk label Oct 7, 2020
@luisramos0 luisramos0 merged commit 48ea804 into openfoodfoundation:master Oct 7, 2020
@cillian
Copy link
Contributor Author

cillian commented Oct 8, 2020

Hey @filipefurtad0 the OSM search map shouldn't be affected from this change but thanks for checking anyway 👍

@cillian cillian deleted the fix-shop-variant-search branch September 17, 2021 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The shopfront search doesn't find display names of variants
4 participants