Bug 21683: (follow-up) Polish the change - based on feedback
[koha.git] / C4 / Circulation.pm
index e01ddd9..7ab1db7 100644 (file)
@@ -2385,7 +2385,7 @@ sub _FixAccountForLostAndReturned {
             accounttype => { -in => [ 'L', 'Rep', 'W' ] },
         },
         {
-            order_by => { -desc => [ 'date' ] }
+            order_by => { -desc => [ 'date', 'accountlines_id' ] }
         }
     );