-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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(core): Default search plugin query for non-default language fails #2515
fix(core): Default search plugin query for non-default language fails #2515
Conversation
✅ Deploy Preview for effervescent-donut-4977b2 canceled.
|
7f6d297
to
a0c86c2
Compare
Draft PR. Improving e2e tests. |
1ae77e6
to
6096726
Compare
@michaelbromley , is there a benchmark test available to measure the PR impact on shop search query performance? |
We have a load testing setup described here: https://github.com/vendure-ecommerce/vendure/tree/master/packages/dev-server#load-testing There's no script specifically for testing the search, but you could create one based on one of the existing scripts. |
6096726
to
72cdabf
Compare
9e40120
to
c2a688e
Compare
Thank you @hans-rollingridges-dev for your excellent work on this! |
Description
The - default search plugin - search query for a non-standard language fails. If there is a product variant with non-standard translation, the standard language variant will also be included in the search results. I.e. resulting in search result records with duplicate product variant ID. Depending on the logic for sorting and grouping by, the outcome will be different.
Breaking changes
Screenshots
Checklist
📌 Always:
⚡ Most of the time: