From: erickson Date: Wed, 17 Sep 2008 17:22:33 +0000 (+0000) Subject: only display queued recs with possible matches by default (checkbox) X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=63cf47f25fb93aec72a39c8c035fd3663d11b20e;p=Evergreen.git only display queued recs with possible matches by default (checkbox) git-svn-id: svn://svn.open-ils.org/ILS/trunk@10621 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/web/vandelay/vandelay.html b/Open-ILS/web/vandelay/vandelay.html index f15e8e564d..0ea9811494 100644 --- a/Open-ILS/web/vandelay/vandelay.html +++ b/Open-ILS/web/vandelay/vandelay.html @@ -47,7 +47,8 @@ border: 1px solid red; } - + + @@ -145,6 +146,8 @@ + Only show records with possible matches
diff --git a/Open-ILS/web/vandelay/vandelay.js b/Open-ILS/web/vandelay/vandelay.js index 419fc1b80d..6f18cc4e90 100644 --- a/Open-ILS/web/vandelay/vandelay.js +++ b/Open-ILS/web/vandelay/vandelay.js @@ -234,8 +234,12 @@ function retrieveQueuedRecords(type, queueId, onload) { selectableGridRecords = {}; resetVlQueueGridLayout(); + var method = 'open-ils.vandelay.'+type+'_queue.records.retrieve.atomic'; + if(vlQueueGridShowMatches.checked) + method = method.replace('records', 'records.matches'); + fieldmapper.standardRequest( - ['open-ils.vandelay', 'open-ils.vandelay.'+type+'_queue.records.retrieve.atomic'], + ['open-ils.vandelay', method], { async: true, params: [authtoken, queueId, {clear_marc:1}], /* intermittent bug in streaming, multipart requests prevents use of onreponse for now...