taking out some dumper statements for troubleshooting that I had commented out
[migration-tools.git] / eg_staged_bib_overlay
index 5ab56b3..d4e788a 100755 (executable)
@@ -387,7 +387,7 @@ sub handle_load_bibs {
                 FROM $schema.$batch
                 WHERE to_import
                 AND NOT imported
-                ORDER BY id
+                ORDER BY bib_id DESC
                 LIMIT 1
             )
         });