Hi,
I would like to ask if this module integrates with Search api views.
thanks

CommentFileSizeAuthor
#6 entityreference_filter_2365437-6.patch2.59 KBthepanz

Comments

maximpodorov’s picture

Hmm, I didn't try. Could you try and report the results?

maximpodorov’s picture

Status: Active » Postponed (maintainer needs more info)
thepanz’s picture

Status: Postponed (maintainer needs more info) » Active

Tested and the module did not worked out with SearchAPI based views; I run my tests on a commerce-product index, where I am trying to apply this module to filter the "nodes referencing this product".

SearchAPI is actually replacing the the filter handlers with its own classes, thus (AFAIK) avoiding this module to be integrated. I will try to further investigate this integration, even I solved this with a custom module that injects some code in the "options list" of the commerce_product_reference property.

maximpodorov’s picture

Maybe some patches will follow?

thepanz’s picture

@maximpodorov: I ended up not using this module, not patch to provide sorry!

thepanz’s picture

Status: Active » Needs work
StatusFileSize
new2.59 KB

A preliminary patch to let the module work with SearchAPI indexes and queries.
The code is taken from SearchAPI handling of queries and constraints building.

user654’s picture

Issue summary: View changes