]> 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)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 23 Jan 2018 01:25:05 +0000 (01:25 +0000)
commitc199ced310abdef53379115ee285757df20ac335
treeb6599256354b8fe5978d4363660087f12751d038
parentf6adfb4257d0326a101771246777b10965632bc8
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>
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