Fix thinko in URI linking
authorDan Scott <dscott@laurentian.ca>
Thu, 18 Dec 2014 06:12:29 +0000 (01:12 -0500)
committerDan Scott <dscott@laurentian.ca>
Thu, 18 Dec 2014 06:12:29 +0000 (01:12 -0500)
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/misc_util.tt2

index 5ad5b61..1d734b8 100644 (file)
         FOR link_node IN xml.findnodes('//*[@tag="024"]/*[@code="2" and text()="uri"]');
             my_parent = link_node.parentNode();
             FOR link IN my_parent.findnodes('./*[@code="a"]');
-                link_uri = textContent | trim;
+                link_uri = link.textContent | trim;
                 args.links.push(link_uri);
             END;
         END;