algoliasearch-magento icon indicating copy to clipboard operation
algoliasearch-magento copied to clipboard

Updating transformHit to fix broken autocomplete

Open edward-simpson opened this issue 5 years ago • 0 comments

Summary

Updating js/algoliasearch/internals/frontend/common.js to short circuit hit._highlightResult in the window.transformHit function

This is to fix an issue experienced where the Autocomplete dropdown stops showing products because this property is null

Result

This means hit._highlightResult is never null

edward-simpson avatar Jan 30 '20 11:01 edward-simpson