https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39019
Bug ID: 39019
Summary: Do not repeat content in CHECKOUT, CHECKIN, and
HOLDDGST notices when digest tags are omitted
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Notices
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
The CHECKOUT, CHECKIN, and HOLDDGST notices assume some content will appear in
the notice once, while other content will be generated per item. The content to
be repeated gets wrapped in a set of dashed lines that I called "digest tags"
in the bug title. Like:
Hey Patron,
These books got checked out:
----
[% biblio.title %]
----
While a full list of titles works well in an email, it can get prohibitively
long in an SMS, so some libraries prefer a single static line for their SMS
notice. However, if one fully omits those digest tags Koha will repeat the
entire notice per item.
If no digest tags are included in the template, Koha should not repeat any of
the content on subsequent items.
To recreate:
1: Edit the CHECKOUT notice to read:
Test
----
----
2: check two items out to a patron set to receive CHECKOUT notices
3: confirm their notice says just "Test"
4: Edit the checkout notice to read:
Test
5: check two items out to a different patrons set to receive CHECKOUT notices
6: confirm their notice says "TestTest"
--
You are receiving this mail because:
You are the assignee for the bug.
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/