From 0a505e0b08f92ee0c4131a036028e13896271740 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 28 Mar 2020 01:22:35 +0100 Subject: [PATCH] Bug 24941: Serials - Fix link to basket from acquisition details information Adding orders from subscriptions makes acquisition information visible in the serials module. In the table of acquisition data is a link back to the basket - but this link is missing the basket number parameter - it doesn't work. This patch fixes the TT variable to make it work. To test: - Add a subscription - Add a new basket - Add a order line using "Add from subscription" - Go to the subscription details page, check the acquisitions tab - Try the link to the basket - it should not work - Apply patch - Try the link again - now it should bring up the basket page with the order. Signed-off-by: David Nind Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson --- .../prog/en/modules/serials/subscription-detail.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt index 03a7bc9592..75414fbb24 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt @@ -408,7 +408,7 @@ [%# invoice %] [% IF CAN_user_acquisition_order_manage %] - [% parent_order.basket.basketname | html %] ([% parent_order.basket.basketno | html %]) + [% parent_order.basket.basketname | html %] ([% parent_order.basket.basketno | html %]) [% ELSE %] [% parent_order.basket.basketname | html %] ([% parent_order.basket.basketno | html %]) [% END %] -- 2.39.5