matching enhancements -- allow matching rule to be changed on the fly
[koha.git] / tools / stage-marc-import.pl
index 7f8063d..22dff90 100755 (executable)
@@ -94,6 +94,7 @@ if ($uploadmarc && length($uploadmarc)>0) {
             $checked_matches = 1;
             $matcher_code = $matcher->code();
             $num_with_matches = BatchFindBibDuplicates($batch_id, $matcher);
+            SetImportBatchMatcher($batch_id, $matcher_id);
         } else {
             $matcher_failed = 1;
         }