changing sequence of loading bibs so that newest bibs are prioritized which helps...
authorRogan Hamby <rhamby@esilibrary.com>
Fri, 19 Jan 2018 16:13:27 +0000 (11:13 -0500)
committerRogan Hamby <rhamby@esilibrary.com>
Fri, 19 Jan 2018 16:13:27 +0000 (11:13 -0500)
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
             )
         });