Merge branch 'ent-8623-error-sql-filtro-agentes' into 'develop'

Fixed missing char

See merge request artica/pandorafms!4718
This commit is contained in:
Daniel Rodriguez 2022-02-25 09:19:37 +00:00
commit db3e74a2f6
1 changed files with 4 additions and 4 deletions

View File

@ -533,10 +533,10 @@ if ($search != '') {
$search_sql .= ')';
} else {
$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%%")',
' 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%%"))',
$search,
$search,
$search,