Bugzilla – Attachment 98890 Details for
Bug 9989
Closing a basket without creating a basketgroup should not redirect to baskets list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9989: Stay on basket page after closing it
Bug-9989-Stay-on-basket-page-after-closing-it.patch (text/plain), 1.37 KB, created by
Aleisha Amohia
on 2020-02-13 21:48:50 UTC
(
hide
)
Description:
Bug 9989: Stay on basket page after closing it
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2020-02-13 21:48:50 UTC
Size:
1.37 KB
patch
obsolete
>From 35dcda3ef2c23e4e46da1e161f18e13efc47d412 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Thu, 13 Feb 2020 21:44:23 +0000 >Subject: [PATCH] Bug 9989: Stay on basket page after closing it > >Instead of redirecting to the list of vendor's baskets. > >To test: >1) Go to Acquisitions. Ensure you have a budget, fund and vendor >defined. >2) Create a basket. Add an item to it. >3) Close the basket. Do not attach to a basketgroup. >4) Notice you are redirected to the list of vendor's baskets. >5) Apply the patch and go to the basket's page. Reopen the basket. >6) Close the basket. Do not attach to a basketgroup. >7) Confirm you remain on the closed basket's page. > >Sponsored-by: Catalyst IT >--- > acqui/basket.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/acqui/basket.pl b/acqui/basket.pl >index d248f11..85eb17f 100755 >--- a/acqui/basket.pl >+++ b/acqui/basket.pl >@@ -213,7 +213,7 @@ if ( $op eq 'delete_confirm' ) { > basketgroupid => $basketgroupid } ); > print $query->redirect('/cgi-bin/koha/acqui/basketgroup.pl?booksellerid='.$booksellerid.'&closed=1'); > } else { >- print $query->redirect('/cgi-bin/koha/acqui/booksellers.pl?booksellerid=' . $booksellerid); >+ print $query->redirect('/cgi-bin/koha/acqui/basket.pl?basketno=' . $basketno); > } > exit; > } else { >-- >2.1.4
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 9989
:
98890
|
98970
|
98980