]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 30 Jan 2018 08:14:22 +0000 (09:14 +0100)
commit7d1409e188437155911764757a0c61c54b0cd90d
tree59526d9c5ca0724203bffb7e146722561572f581
parenteb2592e028c28b51d6276b3cb7102c6cfce19357
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>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit c199ced310abdef53379115ee285757df20ac335)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
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