Feature request: Related table search

6 posts by 2 authors in: Forums > CMS Builder
Last Post: September 6, 2017   (RSS)

By Toledoh - June 7, 2017

Hi Guys,

In a section, we have the ability to add a "Related Records" field.  For instance, a "Business" listing may have multiple "Individual" listings related to it.  

It would be great to be able to add the ability to search for those listings that have related records that match the search terms.

ie. From the Business Listings, find any business that has a related individual/s.

This is becoming more and more common need for me - especially with large membership type databases.

Cheers,

Tim (toledoh.com.au)

By Dave - June 17, 2017

Hi Tim, 

In the field editor for Related records you can specify: MySQL Where, and More "Search" Link.

And those let you filter the results, for example, only showing child records of a specific parent record.  Does that work?  Or are you wanting something additional?

Let me know, thanks!

Dave Edis - Senior Developer
interactivetools.com

By Toledoh - June 18, 2017

Thanks Dave - I got some custom work done on this for now - but may revisit later!

Cheers,

Tim (toledoh.com.au)

By Dave - September 6, 2017

Hi Tim, 

Ok, thanks.  I'll put that on the feature request list.  We'd like something like that too.  One workaround/hack for now is to have a plugin that updates an additional field, eg: companiesNum_label with the actual label.  But we'd like to have it searchable and linked in real time as well.

Dave Edis - Senior Developer
interactivetools.com

Thanks Dave.

Cheers,

Tim (toledoh.com.au)