This applies to supportsIndex() method in CommerceSearchApiAlterProductStatus and CommerceSearchApiProductDisplayFilter - when checking for supported entity types, it should use $index->getEntityType() instead of $index->item_type, as these do not have to be the same.
Example: multilingual indexes provided by Search API Entity Translation, where for multilingual node indexes item_type equals search_api_et_node.
Patch to follow.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | commerce_search_api-entity_type_check-2335137-1.patch | 1.19 KB | maciej.zgadzaj |
Comments
Comment #1
maciej.zgadzaj commentedComment #2
jsacksick commentedI just gave you the commit access, feel free to commit it :).
Comment #3
maciej.zgadzaj commentedThanks, and done!