Bug 17995 - HOLDPLACED notice should have access to the reserves table

To test:
1 - Add reserves.reservenotes to HOLDPLACED message
2 - Enable emailLibrarianWhenHoldIsPlaced OpacHoldNotes sysprefs
3 - Place a hold via OPAC with a note
4 - view the messagequeue and note the reservenotes is blank
5 - Apply patch
6 - Place a hold with a note
7 - view the messagequeue and note the reservenotes is populated

Followed test plan, works as expected.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2017-01-25 17:00:34 +00:00 committed by Brendan A Gallagher
parent fbbd4b40f0
commit 3b794b1312

View file

@ -165,6 +165,7 @@ The following tables are available witin the HOLDPLACED message:
biblio
biblioitems
items
reserves
=cut
@ -238,6 +239,7 @@ sub AddReserve {
'biblio' => $biblionumber,
'biblioitems' => $biblionumber,
'items' => $checkitem,
'reserves' => $hold->unblessed,
},
) ) {