Skip to content

Fix hyphens in taxon code#289

Open
pbalcerzak wants to merge 3 commits intoBitBagCommerce:masterfrom
pbalcerzak:fix_hyphens_in_taxon_code
Open

Fix hyphens in taxon code#289
pbalcerzak wants to merge 3 commits intoBitBagCommerce:masterfrom
pbalcerzak:fix_hyphens_in_taxon_code

Conversation

@pbalcerzak
Copy link
Contributor

If there is a hyphen in taxon code ES understands it as a split and searches words divided by hyphen separately
This PR changes this behaviour to look for keywords.
Which introduced another bug as keywords is case sensitive and in ShopProductListDataHandler we always search with lowercased taxon code strtolower((string) $taxon->getCode()), so we had to match the mapping as well

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