lp859190: make marc_stream_import always import non-matches
authorGalen Charlton <gmc@esilibrary.com>
Sun, 25 Sep 2011 20:55:38 +0000 (16:55 -0400)
committerBill Erickson <berick@esilibrary.com>
Sun, 25 Sep 2011 23:09:32 +0000 (19:09 -0400)
Fixes regression of (implicit, undocumented) functionality
introduced in commit da3a45344205.  Current use case for
the streaming MARC importer for OCLC Connexion exports assumes
that non-matching records should always be added.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Bill Erickson <berick@esilibrary.com>

Open-ILS/src/support-scripts/marc_stream_importer.pl

index 4e53914..2549222 100755 (executable)
@@ -250,7 +250,10 @@ sub process_spool { # filename
 
 sub bib_queue_import {
     my $rec_ids = shift;
-    my $extra = {auto_overlay_exact => 1};
+    my $extra = {
+        auto_overlay_exact => 1,
+        import_no_match    => 1,
+    };
     $extra->{merge_profile} = $merge_profile if $merge_profile;
 
     my $req;