Merge branch 'ent-5401-Búsqueda-de-módulo-por-ID-al-llegar-desde-link-de-consola' into 'develop'

Ent 5401 búsqueda de módulo por id al llegar desde link de consola

See merge request artica/pandorafms!4026
This commit is contained in:
Daniel Rodriguez 2021-05-11 15:38:01 +00:00
commit 8a3d977e82
1 changed files with 4 additions and 0 deletions

View File

@ -244,6 +244,10 @@ if ($ag_modulename != '') {
$sql_conditions .= " AND tagente_modulo.nombre LIKE '%".$ag_modulename."%'";
}
if ($id_module) {
$sql_conditions .= sprintf(' AND tagente_modulo.id_agente_modulo = \'%d\'', $id_module);
}
if ($module_option !== 0) {
if ($module_option == 1) {
// Only enabled