From 752b47ca3d64beaf759bc00c54bb4677490fcdca Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 25 Jan 2017 17:00:34 +0000 Subject: [PATCH] Bug 17995 - HOLDPLACED notice should have access to the reserves table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Jonathan Druart --- C4/Reserves.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index c078af1..55f6be3 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -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, }, ) ) { -- 2.9.3