osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now
Filter lists by certain criteria
I am customizing osTicket and our users submit tickets for different "sub-companies". Ticket form has lists but values need to be filtered by user's company. The company is associated to users in their profile. I just need to filter lists to show only their valid values. For instance: Department. There are departments by company. If you belong to company A, I need you to choose from departments existing in company A only. Lists have the company id too.
What's the best way to filter this info? I was checking class.dynamic_forms.php and class.list.php. Any advise? Really appreciate.