Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: maciej.zgadzaj commentedComment #2
jsacksick CreditAttribution: jsacksick commentedI just gave you the commit access, feel free to commit it :).
Comment #3
maciej.zgadzaj CreditAttribution: maciej.zgadzaj commentedThanks, and done!