Enabling the display of 856 field URLs for related resources
authorChris Sharp <csharp@georgialibraries.org>
Tue, 19 Mar 2013 17:18:16 +0000 (13:18 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Tue, 20 Oct 2020 13:02:30 +0000 (09:02 -0400)
Open-ILS/src/templates/opac/parts/misc_util.tt2

index 609f22d..e038424 100644 (file)
 
         # 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"]');