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.
Problem
Fields added through the UI for a saved search (field_my_title for example) are not available in Views.
Issue seems to be caused by the fact that data_table value in the annotation for the Saved Search entity is set to "search_api_saved_search_field_data", and such table doesn't exist.
Proposed resolution
Either add a "search_api_saved_search_field_data" table (I guess similar to node_field_data) or change the annotation to use the base_table (i.e. "search_api_saved_search")
Comment | File | Size | Author |
---|---|---|---|
#2 | 3089849-change_data_table-2.patch | 508 bytes | ivelin.enchev |
Comments
Comment #2
ivelin.enchev CreditAttribution: ivelin.enchev at FFW commentedComment #3
drunken monkeyOK, makes sense. Thanks a lot for posting!
Committed.
Comment #5
drunken monkey