From 9573123fe233b638ea4c1329d56ea0a4fa8aab2b 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=utf8 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 Signed-off-by: Brendan A Gallagher (cherry picked from commit 3b794b1312d0cfac81b302d0e823e2c5683a1f0e) Signed-off-by: Katrin Fischer (cherry picked from commit 75ac2341774368975be08ee635851605f06a7b7d) Signed-off-by: Julian Maurice --- C4/Reserves.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index 389ca96f66..1da2b151af 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -219,6 +219,7 @@ sub AddReserve { 'borrowers' => $borrower, 'biblio' => $biblionumber, 'items' => $checkitem, + 'reserves' => $hold->unblessed, }, ) ) { -- 2.39.5