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

Support archive

Search relationship category.

SamuelKwong 27 Apr 2014 19:42 question, complete

Searching a relationship field entry category, possible?

For example
I have 2 channels.

1. Property
2. Building ( has Category group "District" , with category like "District A" , "District B" and so on..)

One of the field of the Property is a relationship field to "Building" entries

I want to search from a district, and return all the properties.
Like I have a drop down or checkboxes of all the "districts".

When I search for "District A", the search result will return all "Property" entries with the related building in District A.

Is it possible? Can you give me some guidance ?
I can return all property by selecting the "Building" entry, but how to search by "Building-Category" ?

Thanks!

Replies

  1. Low 28 Apr 2014 15:49

    I'm afraid that's not possible at the moment. Only categories that are tied to the actual results (Property entries, in your case) can be searched. Relationships are searched just on their presence; filtering by their categories is not possible if you want to return only Properties.