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

Support archive

How to search a relationship field inside a grid field?

sajwal 23 Jun 2014 14:20 question, complete

Hi,
Just purchased low search ... after banging my head on solspace super search.

I am having issues where Low search form is not displaying results for an entry where data is a title of relationship field inside a grid.

Eg :

Movies is a channel
Actors is another channel

Movies has a (grid) channel field containg col (Name of Actor) as a relationship field.

So it looks like below

Entry : Titanic

Kate Winslet --- relationship field (title of actor channel entry)
Leonardo ---- relationship field (title of actor channel entry)

when i search anything with leonardo channel for a collection of movies channel....nothing is displayed.

However if i change the relationship field to text field ... it starts displaying proper results...

But my scenario is completed restricted to use relationship field...

Please help

Replies

  1. Low 23 Jun 2014 14:43

    Here's the thing. EE's relationship field doesn't return any searchable data, so neither Super Search nor Low Search (nor the native search) can search through it via keywords.

    Low Search does offer a Relationships filter, but that only filters by entry ID, and only works if the Relationship field is not in a Grid/Matrix field.

    There is this extension: http://devot-ee.com/add-ons/low-searc... but I reckon that also only works if the Relationship filter isn't in a Grid field.

    The other solution would be to use Playa, which does return the entry title as searchable data.

  2. sajwal 24 Jun 2014 06:08

    I dont think playa is available field type in gird as an option

  3. Low 24 Jun 2014 15:19

    In that case, there is no way to make that data searchable, I'm afraid. EE just doesn't give the data back.