if(type == 'auth')
method = method.replace('bib', 'auth');
+ var options = {};
+ if(vlUploadQueueAutoOverlayExact.checked) {
+ options.auto_overlay_exact = true;
+ vlUploadQueueAutoOverlayExact.checked = false;
+ }
+
fieldmapper.standardRequest(
['open-ils.vandelay', method],
{ async: true,
- params: [authtoken, queueId],
+ params: [authtoken, queueId, options],
onresponse: function(r) {
var resp = r.recv().content();
if(e = openils.Event.parse(resp))
currentType = dijit.byId('vl-record-type').getValue();
var handleProcessSpool = function() {
- if(vlUploadQueueAutoImport.checked) {
- vlImportRecordQueue(currentType, currentQueueId, true,
+ if(vlUploadQueueAutoImport.checked || vlUploadQueueAutoOverlayExact.checked) {
+
+ vlImportRecordQueue(
+ currentType,
+ currentQueueId,
+ vlUploadQueueAutoImport.checked,
function() {
if(vlUploadQueueHoldingsImport.checked) {
vlImportHoldings(
<!ENTITY vandelay.auth.attrs "Authority attributes">
<!ENTITY vandelay.auth.records "Authority Records">
<!ENTITY vandelay.auto.import.noncolliding "Auto-Import Non-Colliding Records">
+<!ENTITY vandelay.auto.import.auto_overlay_exact "Auto Merge/Overlay Exact Matches">
<!ENTITY vandelay.auto.width "Auto Width">
<!ENTITY vandelay.back.to.import.queue "Back To Import Queue">
<!ENTITY vandelay.bib.attrs "Bibliographic attributes">
</td>
</tr>
<tr>
+ <td>&vandelay.auto.import.auto_overlay_exact;</td>
+ <td colspan='4'>
+ <input jsId='vlUploadQueueAutoOverlayExact' dojoType='dijit.form.CheckBox'/>
+ </td>
+ </tr>
+ <tr>
<td>Import Attached Holdings</td>
<td colspan='4'>
<input jsId='vlUploadQueueHoldingsImport' dojoType='dijit.form.CheckBox'/>