Bugzilla – Attachment 98970 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.38 KB, created by
Owen Leonard
on 2020-02-14 16:22:23 UTC
(
hide
)
Description:
Bug 9989: Stay on basket page after closing it
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2020-02-14 16:22:23 UTC
Size:
1.38 KB
patch
obsolete
>From 64ac00d9c90e1366a67f757402a9d6fd5a06f0b7 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 d248f11c923..85eb17f30e4 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.11.0
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