diff --git a/lib/Utils.php b/lib/Utils.php index 86ef616..a6221e7 100644 --- a/lib/Utils.php +++ b/lib/Utils.php @@ -67,8 +67,8 @@ class Utils AND acc_accounts.%s ) - GROUP by acc_accounts.id - ORDER by acc_accounts.id', + GROUP by acc_accounts.code + ORDER by acc_accounts.code', '"%Y"', $annee, $db->where('code', $op, $comptes)