Bugzilla – Attachment 169147 Details for
Bug 37343
Cannot search for vendors when transferring an item in acquisitions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37343: Fixed search for vendors when transferring an item in acquistions
Bug-37343-Fixed-search-for-vendors-when-transferri.patch (text/plain), 1.49 KB, created by
Kyle M Hall (khall)
on 2024-07-18 15:45:18 UTC
(
hide
)
Description:
Bug 37343: Fixed search for vendors when transferring an item in acquistions
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2024-07-18 15:45:18 UTC
Size:
1.49 KB
patch
obsolete
>From 07a84ad7556d0eecc1d8b449ccebea2671245d91 Mon Sep 17 00:00:00 2001 >From: Eric Garcia <cubingguy714@gmail.com> >Date: Tue, 16 Jul 2024 17:00:43 +0000 >Subject: [PATCH] Bug 37343: Fixed search for vendors when transferring an item > in acquistions > >To test: >1. Have several vendors in acquistions >2. Add a basket and click "+Add to basket" >3. I used an mrc file to add an order from a new file >4. Stage for import -> add staged files to basket >5. Select the items and choose an item type >6. In the Orders table click 'Transfer' under the 'Modify' column >7. Try searching for vendors, nothing happens. >8. Apply patch restart_all >9. Click 'Transfer' again and try searching for vendors. >10. Notice vendors appear > >NOTE: >Vendor search is a GET operation not POST. Use 'do_search' instead of 'cud-do_search'. > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > acqui/transferorder.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/acqui/transferorder.pl b/acqui/transferorder.pl >index e62fb37dc8d..69597f4e7eb 100755 >--- a/acqui/transferorder.pl >+++ b/acqui/transferorder.pl >@@ -117,7 +117,7 @@ if( $basketno && $ordernumber) { > } else { > # Search for booksellers to transfer from/to > $op = '' unless $op; >- if( $op eq "cud-do_search" ) { >+ if( $op eq "do_search" ) { > my $booksellers = Koha::Acquisition::Booksellers->search( > { name => { -like => "%$query%" } }, > { order_by => { -asc => 'name' } } ); >-- >2.30.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 37343
:
169052
|
169147
|
169148
|
169156