I'd like to ask for support for entityreference fields.

There is currently built-in support for filtering by taxonomy terms, but as I'm using entityreference to link to taxonomy terms the built-in support doesn't work for me...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

BWPanda’s picture

Status: Active » Needs review
FileSize
1.96 KB

Here's a patch that adds support for entityreference fields.

I originally tried to implement this using hook_search_facetapi_field_mappings(), but it didn't allow me to set different entity type options per field.

This patch is working for me.