@manasan123
Yes, I know how work the function in SearchForm2.php. I don’t have some comments because I tested the decision with 2 configurations:
- SuiteCRM 7.11.15, MySQL 5.7.31, PHP 7.3
- SuiteCRM 7.10.22 and MariaDB 10.3.21, PHP 7.3
It works without problems. I didn’t see messages about error.
I wrote about the similar solution into other comment. It’s working too.