From 99b51e03183ec79f6ce46834207511702c2599d6 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Fri, 26 Aug 2011 17:14:25 +0100 Subject: [PATCH] Bug 6733 - Change return page after printing routing slip Previously printing a routing slip returned the user to the top level in serials this change maintains the context in the current subscription Signed-off-by: Nicole C. Engard Signed-off-by: Chris Cormack --- .../intranet-tmpl/prog/en/modules/serials/routing-preview.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview.tt index 129adae30e..2cc1936b22 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview.tt @@ -6,8 +6,8 @@ function print_slip(subscriptionid,issue){ var myurl = 'routing-preview.pl?ok=1&subscriptionid='+subscriptionid+'&issue='+issue; -window.open(myurl,'PrintSlip','width=500,height=500,toolbar=no,scrollbars=yes'); - window.location.href='serials-home.pl'; + window.open(myurl,'PrintSlip','width=500,height=500,toolbar=no,scrollbars=yes'); + window.location.href='subscription-detail.pl?subscriptionid=' + subscriptionid; } //--> -- 2.39.5