mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Merge branch 'ent-12697-monitor-detail-view-no-funciona-el-filtrado-por-campo-search' into 'develop'
Ent 12697 monitor detail view no funciona el filtrado por campo search See merge request artica/pandorafms!6808
This commit is contained in:
commit
dca4c98660
@ -441,18 +441,13 @@ if ($ag_freestring != '') {
|
|||||||
SELECT 1
|
SELECT 1
|
||||||
FROM tagente
|
FROM tagente
|
||||||
WHERE tagente.id_agente = tagente_modulo.id_agente
|
WHERE tagente.id_agente = tagente_modulo.id_agente
|
||||||
AND (
|
AND (tagente.nombre '.$not_condition.' LIKE \'%%'.$ag_freestring.'%%\'
|
||||||
tagente.nombre '.$not_condition.' LIKE \'%%'.$ag_freestring.'%%\' OR tagente.alias '.$not_condition.' LIKE \'%%'.$ag_freestring.'%%\'
|
OR tagente.alias '.$not_condition.' LIKE \'%%'.$ag_freestring.'%%\'
|
||||||
)
|
OR tagente_modulo.nombre '.$not_condition.' LIKE \'%%'.$ag_freestring.'%%\'
|
||||||
AND (
|
|
||||||
tagente_modulo.nombre '.$not_condition.' LIKE \'%%'.$ag_freestring.'%%\'
|
|
||||||
OR tagente_modulo.descripcion '.$not_condition.' LIKE \'%%'.$ag_freestring.'%%\')
|
OR tagente_modulo.descripcion '.$not_condition.' LIKE \'%%'.$ag_freestring.'%%\')
|
||||||
)';
|
)';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Status selector.
|
// Status selector.
|
||||||
if ($status == AGENT_MODULE_STATUS_NORMAL) {
|
if ($status == AGENT_MODULE_STATUS_NORMAL) {
|
||||||
// Normal.
|
// Normal.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user