All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Low search relationship for playa field inside a matrix field

maxwellhibbert 23 Dec 2013 21:37 question, complete

I'm trying to filter entries by a relationship that's made in a Playa field that's inside of a Matrix field, but it doesn't appear to be working.

The only thing I could think of was to set the child parameter to the matrix field (as you would in a native Playa tag):
{exp:low_search:results child:related_matrix_field="123"}

But that doesn't work..

Is there any way to achieve this?
Or will I need to create a separate template using native Playa tags instead? (this would suck)

Versions: EE 2.7.1, Low Search 2.3.1, Playa 4.4.5

Replies

  1. Low 24 Dec 2013 10:17

    The Relationships filter can only target "direct" playa (or native rel) fields. Not ones that are used inside a Matrix (or Grid). You could however use the Field Search filter to look for the ID, tho. Playa will save its values as [id] url_title title in the field, so you could try this parameter:

    search:matrix_field:playa_field="[123]"