Bugzilla – Attachment 175449 Details for
Bug 38698
Created by filter in acquisitions duplicate orders search always shows zero results
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38698: Fix Acquisitions duplicate orders search
Bug-38698-Fix-Acquisitions-duplicate-orders-search.patch (text/plain), 1.65 KB, created by
Brendan Lawlor
on 2024-12-13 15:16:55 UTC
(
hide
)
Description:
Bug 38698: Fix Acquisitions duplicate orders search
Filename:
MIME Type:
Creator:
Brendan Lawlor
Created:
2024-12-13 15:16:55 UTC
Size:
1.65 KB
patch
obsolete
>From e19aeda0ebf55a8fc58b85c6f0f3ddaf8deb7878 Mon Sep 17 00:00:00 2001 >From: Brendan Lawlor <blawlor@clamsnet.org> >Date: Fri, 13 Dec 2024 15:06:58 +0000 >Subject: [PATCH] Bug 38698: Fix Acquisitions duplicate orders search > >This patch updates the field for the created by filter from >ui.item.borrowernumber to ui.item.patron_id > >To test: > >1. Add a vendor and a basket >2. Stage a file and add an order to the basket >3. Add another basket and add an order using From existing orders (copy) >4. On the Duplicate existing orders page search for Basket created by: 'koha' >5. No results appear :( >6. Apply patch and repeat steps 3 and 4 >6. Confirm the search returns the basket you created earlier >--- > .../intranet-tmpl/prog/en/modules/acqui/duplicate_orders.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicate_orders.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicate_orders.tt >index a430243375..38f577c579 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicate_orders.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/duplicate_orders.tt >@@ -350,7 +350,7 @@ > } > patron_autocomplete($("#find_patron"), { > 'on-select-callback': function( event, ui ) { >- var field = ui.item.borrowernumber; >+ var field = ui.item.patron_id; > AddPatron( ui.item.firstname + " " + ( ui.item.middle_name || "" ) + " " + ui.item.surname, field, $("#basket_creators"), 'created_by' ); > $("#find_patron").val('').focus(); > return false; >-- >2.39.5
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 38698
:
175449
|
175970