Bugzilla – Attachment 169924 Details for
Bug 37533
Invalid query when receiving an order
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37533: fix query in orderreceive.tt
Bug-37533-fix-query-in-orderreceivett.patch (text/plain), 1.48 KB, created by
David Cook
on 2024-08-01 04:29:19 UTC
(
hide
)
Description:
Bug 37533: fix query in orderreceive.tt
Filename:
MIME Type:
Creator:
David Cook
Created:
2024-08-01 04:29:19 UTC
Size:
1.48 KB
patch
obsolete
>From 21adfbca79a07d110a136bd5b880aaaa62a8fb16 Mon Sep 17 00:00:00 2001 >From: Andreas Jonsson <andreas.jonsson@kreablo.se> >Date: Wed, 31 Jul 2024 09:06:02 +0000 >Subject: [PATCH] Bug 37533: fix query in orderreceive.tt > >The new validation in the REST API will no longer allow >the operator "in". Consequently, it has to be replaced >with the allowed "-in". > >Test plan: > > * Open an invoice and click "Go to receipt page" and > on any basket click "receive" and make sure the dialog > box appears. > >Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com> >Signed-off-by: David Cook <dcook@prosentient.com.au> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >index ba3e00dfb4..bbd320328d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >@@ -554,7 +554,7 @@ > $(document).ready(function(){ > // keep a copy for re-rendering > var $funds_tree = $('#bookfund').html(); >- var base_query = { "order_id": {"in": [[% multiple_orders | html %]]}}; >+ var base_query = { "order_id": {"-in": [[% multiple_orders | html %]]}}; > var pending_orders_url = "/api/v1/acquisitions/orders?only_active=1"; > var options = { > "ajax": { >-- >2.39.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 37533
:
169881
|
169882
|
169923
| 169924