Bugzilla – Attachment 169510 Details for
Bug 37450
Clicking 'Close basket' from the list of baskets does nothing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37450: Fix 'Close basket' button from list of baskets
Bug-37450-Fix-Close-basket-button-from-list-of-bas.patch (text/plain), 2.85 KB, created by
Sam Lau
on 2024-07-24 16:58:09 UTC
(
hide
)
Description:
Bug 37450: Fix 'Close basket' button from list of baskets
Filename:
MIME Type:
Creator:
Sam Lau
Created:
2024-07-24 16:58:09 UTC
Size:
2.85 KB
patch
obsolete
>From d9bec048414f4754f1af9d1f5bddafca01c2eecf Mon Sep 17 00:00:00 2001 >From: Sam Lau <samalau@gmail.com> >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 %] > <li><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% basket.booksellerid | uri %]&owner=1"><i class="fa-solid fa-dollar-sign"></i> Uncertain prices</a></li> > [% ELSIF basket.total_items && !basket.is_standing %] >- <li><a href="/cgi-bin/koha/acqui/basket.pl?op=close&basketno=[% basket.basketno | uri %]&booksellerid=[% basket.booksellerid | uri %]"><i class="fa fa-times-circle"></i> Close this basket</a></li> >+ <form method="post" action="/cgi-bin/koha/acqui/basket.pl"> >+ [% INCLUDE 'csrf-token.inc' %] >+ <input type="hidden" id="basketno" value="[% basket.basketno | html %]" name="basketno" /> >+ <input type="hidden" value="cud-close" name="op" /> >+ <input type="hidden" name="booksellerid" value="[% basket.booksellerid | html %]" /> >+ <input type="hidden" name="confirm" value="1" /> >+ <li><button type="submit" class="btn btn-default"><i class="fa fa-times-circle"></i> Close this basket</button></li> >+ </form> > [% END %] > </ul> > </div> >-- >2.39.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37450
:
169510
|
169565
|
170100