X-Git-Url: https://git.llucax.com/mecon/ai.git/blobdiff_plain/315644d98ff2f5c2dd82b46d3fe8f63550f409e7..beb4f27c0f38e10c639f5ec2000a0ac57719221c:/lib/AI/Servicio.php diff --git a/lib/AI/Servicio.php b/lib/AI/Servicio.php index d6277cf..29f2070 100644 --- a/lib/AI/Servicio.php +++ b/lib/AI/Servicio.php @@ -203,7 +203,7 @@ class AI_Servicio extends AI_DBTreeObject { } $query .= " GROUP BY A.$id_field - ORDER BY RENGLONES DESC, COUNT DESC"; + ORDER BY RENGLONES DESC, COUNT DESC, A.nombre"; } elseif ($orden === AI_SERVICIO_ORDEN_LONG_NOMBRE) { $query = " SELECT *