From 5117c42bdc087af778e0d8cae8773c0b35afa2f4 Mon Sep 17 00:00:00 2001 From: Jeff Davis Date: Tue, 21 Aug 2018 13:01:06 -0700 Subject: [PATCH] LP#1752665: suppress located URIs in holdings view To test: [1] Locate or create a bibliographic record that has at least one located URI (e.g., an 856 with a $9 containing an org unit code) [2] View the record in the Holdings View in the web staff interface, with the 'Show empty call numbers' (or volumes) option selected. [3] Note that rows are displayed with a call number label of '##URI##'; these are for the located URIs and should not be visible here. [4] Apply the patch and repeat step 2. This time the '##URI##' entries should not display. Signed-off-by: Jeff Davis Signed-off-by: Galen Charlton --- Open-ILS/web/js/ui/default/staff/cat/services/holdings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/js/ui/default/staff/cat/services/holdings.js b/Open-ILS/web/js/ui/default/staff/cat/services/holdings.js index 476dbe2bf5..20ce815faf 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/services/holdings.js +++ b/Open-ILS/web/js/ui/default/staff/cat/services/holdings.js @@ -72,7 +72,7 @@ function(egCore , $q) { var p = egCore.pcrud.search( 'acn', - {record : rid, owning_lib : org_list, deleted : 'f'}, + {record : rid, owning_lib : org_list, deleted : 'f', label : {'!=' : '##URI##'}}, svc.flesh ).then( function() { // finished -- 2.11.0