From 61a7d41fdd0f1ff49217110e34a39d3fe0bcc712 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 14 Aug 2013 14:36:37 -0400 Subject: [PATCH] Bug 10731 - IntranetSlipPrinterJS is not working for hold slips [v3.10/v3.12] Hold slips aren't printing automatically with JS Print Setup because it appears the system preference IntranetSlipPrint is never being passed to the template. Test Plan: 1) Set up JSPrintSetup http://wiki.koha-community.org/wiki/Setting_up_slip_printer_to_print_silently 2) Place a hold 3) Check the item in to capture the hold 4) Click "Print and confirm" 5) Note the slip does not print automatically 6) Apply this patch 7) Repeat steps 2 through 4 8) Observe that the slip now prints automatically Signed-off-by: Owen Leonard Tested successfully in 3.10.x and 3.12.x Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- circ/hold-transfer-slip.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/circ/hold-transfer-slip.pl b/circ/hold-transfer-slip.pl index 8ae5d2a2f4..8349e93868 100755 --- a/circ/hold-transfer-slip.pl +++ b/circ/hold-transfer-slip.pl @@ -65,6 +65,7 @@ $template->param( plain => !$is_html, title => "Koha -- Circulation: Transfers", stylesheet => C4::Context->preference("SlipCSS"), + IntranetSlipPrinterJS => C4::Context->preference("IntranetSlipPrinterJS"), ); output_html_with_http_headers $input, $cookie, $template->output; -- 2.39.5