From 217372f9fc53f31e0524ae987a8b02924a6467bd Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Fri, 29 Apr 2016 02:53:43 +0200 Subject: [PATCH] Bug 16384: Fix cancel link for 'Edit basket' MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit When you edit the basket from the basket summary page, saving the change brings you back to the basket summary page, but cancelling brings you to the baskets page of the vendor. To test: - Add a basket in acq - Test cancel link returns to baskets page of vendor - Add a basket and save - Edit this basket - Test cancel link now returns to basket summary page Signed-off-by: Marc Véron Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall (cherry picked from commit e35b310a1e40bc9ee267c88caeca4a56ffbb4636) Signed-off-by: Julian Maurice --- .../intranet-tmpl/prog/en/modules/acqui/basketheader.tt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketheader.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketheader.tt index 84b318cdc0..009a07e673 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketheader.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketheader.tt @@ -118,7 +118,11 @@
- Cancel + [% IF ( basketno ) %] + Cancel + [% ELSE %] + Cancel + [% END %]
[% END %] -- 2.39.5