]> git.koha-community.org Git - koha.git/commit
Bug 18915: Fix checkout note email message
authorAleisha Amohia <aleishaamohia@hotmail.com>
Sun, 27 Aug 2017 23:20:40 +0000 (23:20 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 15 Jan 2018 15:14:00 +0000 (12:14 -0300)
commit5239269216bac250593a32bdf4cce3a6fae0f8fc
tree8da6bda99d4d6427de5216c5bc52f60316ab603b
parentcd7df9a7a3f4ec5b0c2356089b56c47165f87abb
Bug 18915: Fix checkout note email message

This patch replaces the <<biblio.item>> in the email with
<<biblio.title>> and uses CHECKOUT_NOTE instead of PATRON_NOTE.
This patch also adds the notice to
installer/data/mysql/en/mandatory/sample_notices.sql, and updates the
PATRON_NOTE entry in installer/data/mysql/updatedatabase.pl

To test:
1) Apply patch and update database
2) View the message_queue table in mysql
3) Check out an item if haven't already
4) Go to OPAC and set a checkout note for an item
5) View message_queue table and confirm it the title is included in the
email and all instances of 'patron note' have been replaced with
'checkout note'
6) Disable javascript in browser
7) repeat steps 4 and 5 and confirm all works as expected

Sponsored-by: Catalyst IT
Signed-off-by: Marjorie Vila <marjorie.barry-vila@collecto.ca>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
installer/data/mysql/atomicupdate/bug_18915_-_modifying_patron_note_notice.sql [new file with mode: 0644]
installer/data/mysql/en/mandatory/sample_notices.sql
installer/data/mysql/updatedatabase.pl
opac/opac-issue-note.pl
opac/svc/patron_notes