Bug 9487: Allow item fields to be used in the HOLDPLACED notice
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 24 Jan 2013 19:20:38 +0000 (14:20 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 14 Aug 2013 22:07:29 +0000 (22:07 +0000)
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 receive ( or just look at it from the db )
   You should see the item level fields are new populated
5) Place a title level hold
6) Check the email you receive - item fields are not populated,
   but notice still looks ok.

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Reserves.pm

index 0291def..d6812f1 100644 (file)
@@ -213,6 +213,7 @@ sub AddReserve {
                 'branches'  => $branch_details,
                 'borrowers' => $borrower,
                 'biblio'    => $biblionumber,
+                'items'     => $checkitem,
             },
         ) ) {