From 7dd843da4470b9e459a2a2755dcdb883f6c781af Mon Sep 17 00:00:00 2001 From: Ben Shum Date: Tue, 16 Dec 2014 14:34:12 -0500 Subject: [PATCH] LP#1373594: Also ignore subfield 7 in get_graphics_880s In the Czech Republic the subfield 7 of MARC fields 1XX and 7XX are used for the National authority control number. The problem is, that in current Evergreen versions, the subfield 7 is displayed as a part of the link to author seach in search result or record details, but when using the linkt to search rcords of the same author, no results are returned, no matter whether the records exist or not. That is why we nedd to add the subfield 7 into get_graphic_880s. Signed-off-by: Ben Shum --- Open-ILS/src/templates/opac/parts/misc_util.tt2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/opac/parts/misc_util.tt2 b/Open-ILS/src/templates/opac/parts/misc_util.tt2 index 6788c75ced..dfe2b634b1 100644 --- a/Open-ILS/src/templates/opac/parts/misc_util.tt2 +++ b/Open-ILS/src/templates/opac/parts/misc_util.tt2 @@ -7,7 +7,7 @@ FOR node IN xml.findnodes('//*[@tag="' _ target_field _ '"]'); raw_vals = []; core_val = ''; - FOR subnode IN node.findnodes('./*[not(contains("w 0 4 5 6 8 9", @code))]'); + FOR subnode IN node.findnodes('./*[not(contains("w 0 4 5 6 7 8 9", @code))]'); raw_vals.push(subnode.textContent()); END; core_val = raw_vals.join(" "); -- 2.11.0