Hello,
I wish to use zip code as client filter instead of email address. What files will I need to modify?
Thanks
Hello,
I wish to use zip code as client filter instead of email address. What files will I need to modify?
Thanks
/application/modules/filter/controllers/Ajax.php
Replace the following code
public function filter_clients()
{
...
$this->mdl_clients->like("CONCAT_WS('^',LOWER(client_name),LOWER(client_surname),LOWER(client_email),client_phone,client_active)", $keyword);
...
}
to
public function filter_clients()
{
...
$this->mdl_clients->like("CONCAT_WS('^',LOWER(client_name),LOWER(client_surname),LOWER(client_email),client_phone,client_active, client_zip)", $keyword);
...
}
Works a treat, thanks.
@dac whenever you have time, remember to mark @crafter post with the answer as “accepted answer” using the check-box button under the message.
Also, I have added this as a feature request for a later version:
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.