From 67999a6fb3a82f1abc9855e0abe511f6045d3eca 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 Signed-off-by: Kathy Lussier --- 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 da7c958205..b4bf194d6c 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.43.2