Make sort order of imported item retrieval stable
authorMike Rylander <mrylander@gmail.com>
Sat, 23 Apr 2011 15:47:27 +0000 (11:47 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 6 Jul 2011 18:50:50 +0000 (14:50 -0400)
Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm

index 9b44160..3516fd3 100644 (file)
@@ -513,7 +513,7 @@ sub retrieve_queue_import_items {
                 }
             }
         },
-        order_by => {'vii' => ['record']}
+        order_by => {'vii' => ['record','id']}
     };
 
     $query->{where} = {'+vii' => {import_error => {'!=' => undef}}}