#13594 Fixed Free search in the Manage agents view
This commit is contained in:
parent
382013fbe6
commit
b6ce5b7405
|
@ -567,9 +567,9 @@ if ($search != '') {
|
|||
$aux = $id[0]['id_agent'];
|
||||
$search_sql = sprintf(
|
||||
' AND ( nombre LIKE "%%%s%%"
|
||||
OR alias, " ", " ") LIKE "%%%s%%"
|
||||
OR comentarios, " ", " ") LIKE "%%%s%%"
|
||||
OR EXISTS (SELECT * FROM tagent_custom_data WHERE id_agent = id_agente AND description, " ", " ") LIKE "%%%s%%")
|
||||
OR alias LIKE "%%%s%%"
|
||||
OR comentarios LIKE "%%%s%%"
|
||||
OR EXISTS (SELECT * FROM tagent_custom_data WHERE id_agent = id_agente AND description LIKE "%%%s%%")
|
||||
OR tagente.id_agente = %d',
|
||||
$search,
|
||||
$search,
|
||||
|
|
Loading…
Reference in New Issue