From 63cf47f25fb93aec72a39c8c035fd3663d11b20e Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 17 Sep 2008 17:22:33 +0000 Subject: [PATCH] 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 --- Open-ILS/web/vandelay/vandelay.html | 5 ++++- Open-ILS/web/vandelay/vandelay.js | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) 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... -- 2.11.0