Page 1 of 1

Quick Search for both Parent and Child table.

Posted: 2025-07-29 04:59
by Thomas Pang
Hi,

I truly appreciated Appgini which provide such a good tools in programming of php, I created a couple of projects with Appgini.

Recently, I having problem with the Quick Search function, it can only search for the parent table, it do not work for both parent and child table, is that a way of customization, so that the Quick Search searching both parent and child table? or any add on module so that I can search for both parent and child table?

Thanks in advance for any helps.

Regards,

Re: Quick Search for both Parent and Child table.

Posted: 2025-07-29 19:35
by pbottcher
Hi,

if I get your request correctly, you could go to the hooks/tablename.php -> _ini function and catch the search string. With that search string you can query also the child table(s) and return the matching id's for the parent table and return only those records. You would loose the highlighting feature, but I would assume that this is acceptable.

Re: Quick Search for both Parent and Child table.

Posted: 2025-07-30 04:15
by Thomas Pang
Dear pbottcher,

Thank you very much for the reply, my AppGini Super Hero, I'm new to php with Appgini, can you provide more detail of the customization in coding or guild to solve this problem, please.

Thank you very much for you help.

Regards