From: Terran McCanna Date: Thu, 13 Apr 2017 16:25:33 +0000 (-0400) Subject: PINES Customization: Hide FAST Subject Headings X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e6e3c29f788a1fb79eb8fe97ae08dc11ef02b859;p=evergreen%2Fpines.git PINES Customization: Hide FAST Subject Headings See help desk ticket 4655. Signed-off-by: Terran McCanna --- diff --git a/Open-ILS/src/templates/opac/parts/record/subjects.tt2 b/Open-ILS/src/templates/opac/parts/record/subjects.tt2 index b0702a427d..0d1e4f83a6 100644 --- a/Open-ILS/src/templates/opac/parts/record/subjects.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/subjects.tt2 @@ -33,6 +33,7 @@ BLOCK render_subject; xpath = s.xpath || '//*[starts-with(@tag,"6")]'; FOR node IN ctx.marc_xml.findnodes(xpath); + NEXT IF node.findnodes('./*[@code="2" and (text()="fast")]'); ''; all_terms = []; graphics = [];