Merge branch 'ent-8623-error-sql-filtro-agentes' into 'develop'
Fixed missing char See merge request artica/pandorafms!4718
This commit is contained in:
commit
db3e74a2f6
|
@ -533,10 +533,10 @@ if ($search != '') {
|
||||||
$search_sql .= ')';
|
$search_sql .= ')';
|
||||||
} else {
|
} else {
|
||||||
$search_sql = sprintf(
|
$search_sql = sprintf(
|
||||||
' AND ( nombre
|
' AND ( nombre
|
||||||
LIKE "%%%s%%" OR alias
|
LIKE "%%%s%%" OR alias
|
||||||
LIKE "%%%s%%" OR comentarios LIKE "%%%s%%"
|
LIKE "%%%s%%" OR comentarios LIKE "%%%s%%"
|
||||||
OR EXISTS (SELECT * FROM tagent_custom_data WHERE id_agent = id_agente AND description LIKE "%%%s%%")',
|
OR EXISTS (SELECT * FROM tagent_custom_data WHERE id_agent = id_agente AND description LIKE "%%%s%%"))',
|
||||||
$search,
|
$search,
|
||||||
$search,
|
$search,
|
||||||
$search,
|
$search,
|
||||||
|
|
Loading…
Reference in New Issue