removing migschema defs from resource mate xml
[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
             )
         });