From d9bec048414f4754f1af9d1f5bddafca01c2eecf Mon Sep 17 00:00:00 2001 From: Sam Lau Date: Wed, 24 Jul 2024 16:53:25 +0000 Subject: [PATCH] Bug 37450: Fix 'Close basket' button from list of baskets To test: 1) In acquisitions, have a vendor with an item (or items) in their basket. Search for this vendor. 2) From the actions column, select the arrow and then press 'Close this basket' 3) Clicking on this option will not close the basket and brings us to the wrong page 4) Apply patch 5) Try to close the basket again, and this time, it is closed successfully --- .../intranet-tmpl/prog/en/modules/acqui/booksellers.tt | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt index 673d6d15ab..a4718b0446 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt @@ -192,7 +192,14 @@ [% IF basket.uncertainprices %]
  • Uncertain prices
  • [% ELSIF basket.total_items && !basket.is_standing %] -
  • Close this basket
  • +
    + [% INCLUDE 'csrf-token.inc' %] + + + + +
  • +
    [% END %] -- 2.39.2