From 042dcb61503616c6a00240087385c52ab699b31e Mon Sep 17 00:00:00 2001 From: Dan Wells Date: Tue, 16 Aug 2011 11:03:16 -0400 Subject: [PATCH] Fix importing of 'No Match' records from a queue This small change honors the 'No Match' checkbox when importing from a queue. This bug has existed for a while, but was only recently exposed by 06e4d3370068002a303c9a5a03448ee0e1249fc0. Before that commit, no-match records always imported, even when you didn't want them. After that commit, they import when wanted on the initial load, but could not be imported from the queue. Signed-off-by: Dan Wells --- Open-ILS/web/js/ui/default/vandelay/vandelay.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Open-ILS/web/js/ui/default/vandelay/vandelay.js b/Open-ILS/web/js/ui/default/vandelay/vandelay.js index 0921da55b0..4ca6f8ef32 100644 --- a/Open-ILS/web/js/ui/default/vandelay/vandelay.js +++ b/Open-ILS/web/js/ui/default/vandelay/vandelay.js @@ -863,6 +863,11 @@ function vlImportSelectedRecords() { var options = {overlay_map : currentOverlayRecordsMap}; + if(vlUploadQueueImportNoMatch.checked) { + options.import_no_match = true; + vlUploadQueueImportNoMatch.checked = false; + } + if(vlUploadQueueAutoOverlayExact.checked) { options.auto_overlay_exact = true; vlUploadQueueAutoOverlayExact.checked = false; -- 2.11.0