Hi,
I am using Before SQL Query even in the List page to filter the result using the following code:
$strSQL = AddWhere($strSQL,"Office.id ='".$_SESSION["OfficeID"]."'");
And it is working fine.
However, the search form in List page, which is AJAX enabled, showes results belong to other offices.
How do I hide the results from other offices, which appears in the AJAX search?
Thanks,
Fawaz