Added condition to query

This commit is contained in:
Arturo Gonzalez 2017-08-30 16:26:06 +02:00
parent 0594a7bcbc
commit 573a0f5534
2 changed files with 149 additions and 150 deletions

View File

@ -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 = '

View File

@ -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);