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

WooCommerce Integration: search parameter #2620

Merged
merged 3 commits into from
Mar 1, 2022
Merged

WooCommerce Integration: search parameter #2620

merged 3 commits into from
Mar 1, 2022

Conversation

felipeelia
Copy link
Member

Description of the Change

In some points, WooCommerce uses a search parameter instead of s, so it can search for specific fields. As ElasticPress already accounts for those fields, this PR sets the search term back to s, so integration can continue its course.

In addition to that, the PR also removes an indentation level by early returning and fix small issues in the new IndexHelper class.

Closes #2371

Changelog Entry

Changed: ElasticPress uses WooCommerce's search parameter.

Credits

Props @felipeelia @dianfishekqi @oscarssanchez

@felipeelia felipeelia merged commit cc15356 into 4.x.x Mar 1, 2022
@felipeelia felipeelia deleted the fix/issue-2371 branch March 1, 2022 18:51
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.

2 participants