#13594 Fixed Free search in the Manage agents view

This commit is contained in:
Jorge Rincon 2024-04-30 09:34:07 +02:00
parent 382013fbe6
commit b6ce5b7405
1 changed files with 3 additions and 3 deletions

View File

@ -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,