I found a hacky way to hide $2 by adding it to the list of excluded subfields in (custom)templates/opac/parts/misc_utils.tt2:
--- a/var/templates_roblib/opac/parts/misc_util.tt2 +++ b/var/templates_roblib/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("e w 0 4 5 6 7 8 9", @code))]'); + FOR subnode IN node.findnodes('./*[not(contains("e w 0 2 4 5 6 7 8 9", @code))]'); raw_vals.push(subnode.textContent()); END; core_val = raw_vals.join(" ");
------
The resulting behaviour causes an errant ',' at the end of the 1xx field, but at least it is searchable.
I found a hacky way to hide $2 by adding it to the list of excluded subfields in (custom) templates/ opac/parts/ misc_utils. tt2:
--- a/var/templates _roblib/ opac/parts/ misc_util. tt2 _roblib/ opac/parts/ misc_util. tt2 '//*[@tag= "' _ target_field _ '"]');
raw_ vals = [];
core_ val = ''; './*[not( contains( "e w 0 4 5 6 7 8 9", @code))]'); './*[not( contains( "e w 0 2 4 5 6 7 8 9", @code))]');
raw_ vals.push( subnode. textContent( ));
core_ val = raw_vals.join(" ");
+++ b/var/templates
@@ -7,7 +7,7 @@
FOR node IN xml.findnodes(
- FOR subnode IN node.findnodes(
+ FOR subnode IN node.findnodes(
END;
------
The resulting behaviour causes an errant ',' at the end of the 1xx field, but at least it is searchable.