#11404 Fix order sql query

This commit is contained in:
miguel angel rasteu 2023-05-31 15:39:06 +02:00
parent ea3ea61f88
commit eba2e0d9f1
1 changed files with 1 additions and 1 deletions

View File

@ -1689,7 +1689,7 @@ function agents_get_modules(
WHERE tagente_modulo.delete_pending = 0
AND %s
GROUP BY 1
ORDER BY 1',
ORDER BY tagente_modulo.nombre',
($details != 'tagente_modulo.*' && $indexed) ? 'tagente_modulo.id_agente_modulo,' : '',
io_safe_output(implode(',', (array) $details)),
$sql_tags_join,