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=6bc1cd121761620cb3ea4ebf1cbfbe19bf720786;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 363318d852..9ee993e566 100644 --- a/Open-ILS/src/templates/opac/parts/misc_util.tt2 +++ b/Open-ILS/src/templates/opac/parts/misc_util.tt2 @@ -250,7 +250,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"]');