Added condition to query
This commit is contained in:
parent
0594a7bcbc
commit
573a0f5534
|
@ -120,7 +120,8 @@ if ($searchModules) {
|
|||
)
|
||||
AND
|
||||
(t1.nombre COLLATE utf8_general_ci LIKE "%' . $stringSearchSQL . '%" OR
|
||||
t3.nombre LIKE "%' . $stringSearchSQL . '%")';
|
||||
t3.nombre LIKE "%' . $stringSearchSQL . '%")
|
||||
AND t1.disabled = 0';
|
||||
break;
|
||||
case "postgresql":
|
||||
$chunk_sql = '
|
||||
|
|
|
@ -73,7 +73,6 @@ else {
|
|||
'nombre', 'web_content_string');
|
||||
|
||||
foreach ($modules as $module) {
|
||||
if(!$module['disabled']){
|
||||
$module["datos"] =
|
||||
modules_get_last_value($module['id_agente_modulo']);
|
||||
$module["module_name"] = $module['nombre'];
|
||||
|
@ -223,7 +222,6 @@ else {
|
|||
$timestampCell,
|
||||
$edit_module));
|
||||
}
|
||||
}
|
||||
|
||||
echo "<br />";
|
||||
ui_pagination ($totalModules);
|
||||
|
|
Loading…
Reference in New Issue