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
|
||||
FROM tagente
|
||||
WHERE tagente.id_agente = tagente_modulo.id_agente
|
||||
AND (
|
||||
tagente.nombre '.$not_condition.' LIKE \'%%'.$ag_freestring.'%%\' OR tagente.alias '.$not_condition.' LIKE \'%%'.$ag_freestring.'%%\'
|
||||
)
|
||||
AND (
|
||||
tagente_modulo.nombre '.$not_condition.' LIKE \'%%'.$ag_freestring.'%%\'
|
||||
AND (tagente.nombre '.$not_condition.' LIKE \'%%'.$ag_freestring.'%%\'
|
||||
OR tagente.alias '.$not_condition.' LIKE \'%%'.$ag_freestring.'%%\'
|
||||
OR tagente_modulo.nombre '.$not_condition.' LIKE \'%%'.$ag_freestring.'%%\'
|
||||
OR tagente_modulo.descripcion '.$not_condition.' LIKE \'%%'.$ag_freestring.'%%\')
|
||||
)';
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
// Status selector.
|
||||
if ($status == AGENT_MODULE_STATUS_NORMAL) {
|
||||
// Normal.
|
||||
|
|
Loading…
Reference in New Issue