From 6fbb1e09ce153151811e90365a7e5101feb14b68 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 29 Mar 2012 11:35:33 -0400 Subject: [PATCH] Bug 7848 - Issues data missing from circulation notices For the CHECKIN and CHECKOUT notices, any data that is issue specific does not show. For example, date due. This is caused not passing in the issues table as part of the 'table' hash used by C4::Letters::GetPreparedLetter. Simple fix, add the issues table to the 'tables' hash passed in to GetPreparedLetter. --- C4/Circulation.pm | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 9c43f36..b6a81a5 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2718,6 +2718,7 @@ sub SendCirculationAlert { letter_code => $type, branchcode => $branch, tables => { + 'issues' => $item->{itemnumber}, 'biblio' => $item->{biblionumber}, 'biblioitems' => $item->{biblionumber}, 'borrowers' => $borrower, -- 1.7.2.5