https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44227 Bug ID: 44227 Summary: sample notices joins multiple values with nothing instead of pipe | character Initiative type: --- Sponsorship --- status: Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Templates Assignee: oleonard@myacpl.org Reporter: bernard.scaife@openfifth.co.uk QA Contact: testopia@bugs.koha-community.org Target Milestone: --- 1. Have a record with a 245a and 245b at least 2. Enter "My subtitle" in 245b 3. Login to opac, select and send this record to your email 4. Check your email and observer the subtitle will render as "Mysubtitle" This is because in sample_notices.yaml for code: LIST, around line 2897 we have: "[% IF ( biblio.subtitle ) %][% FOREACH subtitle IN biblio.subtitle.split(' | ') %][% subtitle | html %][% END %][% END %][% biblio.part_number | html %] [% biblio.part_name | html %]<br>" split(' | ') should be escaped to make it work as a regex pipe separator viz split(' \| ') -- You are receiving this mail because: You are watching all bug changes.