From ae36063c91ced723c5f379ef8f2c2e2f34a20dab Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Tue, 19 Mar 2013 13:18:16 -0400 Subject: [PATCH] Enabling the display of 856 field URLs for related resources --- Open-ILS/src/templates/opac/parts/misc_util.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/opac/parts/misc_util.tt2 b/Open-ILS/src/templates/opac/parts/misc_util.tt2 index 97cbd1e7c8..ab8c165702 100644 --- a/Open-ILS/src/templates/opac/parts/misc_util.tt2 +++ b/Open-ILS/src/templates/opac/parts/misc_util.tt2 @@ -420,7 +420,7 @@ # Extract the 856 URLs that are not otherwise represented by asset.uri's args.online_res = []; - FOR node IN xml.findnodes('//*[@tag="856" and @ind1="4" and (@ind2="0" or @ind2="1")]'); + FOR node IN xml.findnodes('//*[@tag="856" and @ind1="4" and (@ind2="0" or @ind2="1" or @ind2="2")]'); IF node.findnodes('./*[@code="9" or @code="w" or @code="n"]'); NEXT; END; # asset.uri's label = node.findnodes('./*[@code="y"]'); notes = node.findnodes('./*[@code="z" or @code="3"]'); -- 2.11.0