From 189b6cf4b1933452cd69efa955e73625709e56a5 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 and items tables to the 'tables' hash passed in to GetPreparedLetter. --- C4/Circulation.pm | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 9c43f36..da4ea23 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2718,6 +2718,8 @@ sub SendCirculationAlert { letter_code => $type, branchcode => $branch, tables => { + 'issues' => $item->{itemnumber}, + 'items' => $item->{itemnumber}, 'biblio' => $item->{biblionumber}, 'biblioitems' => $item->{biblionumber}, 'borrowers' => $borrower, -- 1.7.2.5