[Koha-bugs] [Bug 14757] Allow the use of Template Toolkit syntax for slips and notices

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Aug 30 13:15:23 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14757

--- Comment #60 from Petter Goksøyr Åsen <boutrosboutrosboutros at gmail.com> ---
I managed to fix it by changing the config hash in _get_tt_params:

> git diff
diff --git a/C4/Letters.pm b/C4/Letters.pm
index 737c8cd..c1ef404 100644
--- a/C4/Letters.pm
+++ b/C4/Letters.pm
@@ -1437,7 +1437,7 @@ sub _get_tt_params {
             module   => 'Koha::Holds',
             singular => 'hold',
             plural   => 'holds',
-            fk       => [ 'borrowernumber', 'biblionumber' ],
+            pk       => 'reserve_id',
         },
         serial => {
             module   => 'Koha::Serials',


But I don't understand this code very well, so you folks have to look at it!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list