https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38607

            Bug ID: 38607
           Summary: Default CART notice is removing spaces from subtitles
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: OPAC
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

To recreate:
Find a record with a subtitle, edit and save to ensure the subtitle field is
populated
Add it to a cart on the OPAC
open the cart and send
If your Koha doesn't send emails, just check the message queue:
SELECT * FROM message_queue;
Notice the subtitle has no spaces

The cart template has:
[% FOREACH subtitle IN biblio.subtitle.split(" | ") %]

Changing to split only on | seems to work:
[% FOREACH subtitle IN biblio.subtitle.split("|") %]

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to