mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-24 22:35:58 +02:00
Merge branch 'ent-10839-problema-con-buscador-agentes' into 'develop'
Ent 10839 problema con buscador agentes See merge request artica/pandorafms!5642
This commit is contained in:
commit
e4b718a468
@ -563,7 +563,14 @@ if ($search != '') {
|
||||
if ($id != '') {
|
||||
$aux = $id[0]['id_agent'];
|
||||
$search_sql = sprintf(
|
||||
' AND ( `nombre` LIKE "%%%s%%" OR tagente.id_agente = %d',
|
||||
' 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 tagente.id_agente = %d',
|
||||
$search,
|
||||
$search,
|
||||
$search,
|
||||
$search,
|
||||
$aux
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user