From bf1a56a251a58763791c7a442a7c3157b16e4b50 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 14 Aug 2013 14:36:37 -0400 Subject: [PATCH] [SIGNED-OFF] Bug 10731 - IntranetSlipPrinterJS is not working for hold slips [v3.10/v3.12] Content-Type: text/plain; charset="utf-8" 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 --- 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 8ae5d2a..8349e93 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; -- 1.7.9.5