Bugzilla – Attachment 169156 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.54 KB, created by
Tomás Cohen Arazi (tcohen)
on 2024-07-18 16:59:29 UTC
(
hide
)
Description:
Bug 37343: Fixed search for vendors when transferring an item in acquistions
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-07-18 16:59:29 UTC
Size:
1.54 KB
patch
obsolete
>From 5713e5eb0b0aa06c90ca7e8990c1662e63169623 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> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > 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.45.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