From: Chris Sharp Date: Tue, 19 Mar 2013 17:18:16 +0000 (-0400) Subject: Enabling the display of 856 field URLs for related resources X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1b2665511fc1e191933143b03391715fcc1d6849;p=evergreen%2Fpines.git Enabling the display of 856 field URLs for related resources --- diff --git a/Open-ILS/src/templates/opac/parts/misc_util.tt2 b/Open-ILS/src/templates/opac/parts/misc_util.tt2 index 609f22d055..e038424dc5 100644 --- a/Open-ILS/src/templates/opac/parts/misc_util.tt2 +++ b/Open-ILS/src/templates/opac/parts/misc_util.tt2 @@ -468,7 +468,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"]');