From efe8602a5020a99d0c43e46f92dd4e1c789260aa Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 24 Jan 2013 13:49:34 -0500 Subject: [PATCH] Bug 9487 - Allow items fields to be used in the HOLDPLACED notice Test Plan: 1) Enable the syspref emailLibrarianWhenHoldIsPlaced 2) Modify the HOLDPLACED notice, add some item level fields 3) Place an item level hold 4) Check the email you recieve ( or just look at it from the db ) You should see the item level fields are new populated --- C4/Reserves.pm | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index a380bf0..391c2e7 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -140,7 +140,7 @@ BEGIN { =cut -sub AddReserve { +sub AddReserve { my ( $branch, $borrowernumber, $biblionumber, $constraint, $bibitems, $priority, $resdate, $expdate, $notes, @@ -212,6 +212,7 @@ sub AddReserve { 'branches' => $branch_details, 'borrowers' => $borrower, 'biblio' => $biblionumber, + 'items' => $checkitem, }, ) ) { -- 1.7.2.5