Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
On a site using Search API Entity Translation, file fields were no longer being indexed. The test for whether a file field belonged to a node was failing, since the entity type returned was search_api_et_node.
The included patch uses the SearchApiDataSourceControllerInterface::getEntityType() call to determine the proper entity type, rather than querying the item_type property directly.
A similar issue was found in Search API Ranges:
Comment | File | Size | Author |
---|---|---|---|
detect_file_fields.patch | 706 bytes | jmdeleon |
Comments
Comment #1
Yaron Tal CreditAttribution: Yaron Tal commentedGot the same issue, patch worked for me.
Comment #3
izus CreditAttribution: izus commentedThanks all for the patch and the test
this is now merged to 7.x-1.x branch