Given a MARC field like "500 $a 1 $b 2 $c 3", the content note would
display as "1 1 2 1 2 3" as each subfield was appended to the total
set of notes.
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
code = subfield.getAttribute('code');
NEXT UNLESS code.match('[a-z]');
all_content.push(subfield.textContent);
- total_contents = all_content.join(" ").replace('\s+$', '');
- %] [% total_contents %][%- END;
- IF all_terms.size; "<br/>"; END;
+ END;
+ total_contents = all_content.join(" ").replace('\s+$', '');
+ %] [% total_contents;
+ IF total_contents.size; "<br/>"; END;
END;
END
%]