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")

CommentFileSizeAuthor
#2 3089849-change_data_table-2.patch508 bytesivelin.enchev
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ivelin.enchev created an issue. See original summary.

ivelin.enchev’s picture

Issue summary: View changes
FileSize
508 bytes
drunken monkey’s picture

Status: Active » Fixed

OK, makes sense. Thanks a lot for posting!
Committed.

drunken monkey’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.