Quick Search for both Parent and Child table.

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
Thomas Pang
Posts: 11
Joined: 2015-04-14 16:16

Quick Search for both Parent and Child table.

Post by Thomas Pang » 2025-07-29 04:59

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,
-----------------------------------
Thomas Pang
[email protected]
AppGini 25.13
Summary Report 3.4
Customizing AppGini web applications (Udemy)

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1709
Joined: 2018-04-01 10:12

Re: Quick Search for both Parent and Child table.

Post by pbottcher » 2025-07-29 19:35

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.
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

Thomas Pang
Posts: 11
Joined: 2015-04-14 16:16

Re: Quick Search for both Parent and Child table.

Post by Thomas Pang » 2025-07-30 04:15

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
-----------------------------------
Thomas Pang
[email protected]
AppGini 25.13
Summary Report 3.4
Customizing AppGini web applications (Udemy)

Post Reply