From d2127cf97568f02c8b7cf40e8d981b677455f619 Mon Sep 17 00:00:00 2001 From: berick Date: Tue, 3 May 2011 11:11:11 -0400 Subject: [PATCH] added support for viewing all import-items related to a queue, with a filter to limit to those that failed import --- Open-ILS/web/js/ui/default/vandelay/vandelay.js | 5 ++- .../default/vandelay/inc/import_errors.tt2 | 45 +++++++++++++--------- .../web/templates/default/vandelay/inc/queue.tt2 | 2 +- 3 files changed, 31 insertions(+), 21 deletions(-) diff --git a/Open-ILS/web/js/ui/default/vandelay/vandelay.js b/Open-ILS/web/js/ui/default/vandelay/vandelay.js index 182cf5c9f7..26d73c7f1a 100644 --- a/Open-ILS/web/js/ui/default/vandelay/vandelay.js +++ b/Open-ILS/web/js/ui/default/vandelay/vandelay.js @@ -648,9 +648,12 @@ function vlLoadErrorUIAll() { displayGlobalDiv('vl-import-error-div'); openils.Util.hide('vl-import-error-grid-some'); + openils.Util.hide('vl-import-error-record'); openils.Util.show('vl-import-error-grid-all'); vlAllImportErrorGrid.resetStore(); + vlImportErrorGrid.displayOffset = 0; + vlAllImportErrorGrid.dataLoader = function() { vlAllImportErrorGrid.showLoadProgressIndicator(); @@ -661,7 +664,7 @@ function vlLoadErrorUIAll() { async : true, params : [ authtoken, currentQueueId, { - with_import_error:1, + with_import_error: (vlImportItemsShowErrors.checked) ? 1 : null, offset : vlAllImportErrorGrid.displayOffset, limit : vlAllImportErrorGrid.displayLimit } diff --git a/Open-ILS/web/templates/default/vandelay/inc/import_errors.tt2 b/Open-ILS/web/templates/default/vandelay/inc/import_errors.tt2 index 6b08db4890..f72630bef5 100644 --- a/Open-ILS/web/templates/default/vandelay/inc/import_errors.tt2 +++ b/Open-ILS/web/templates/default/vandelay/inc/import_errors.tt2 @@ -1,4 +1,3 @@ -

Import Errors