Bugzilla – Attachment 169882 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.37 KB, created by
Andreas Jonsson
on 2024-07-31 09:18:03 UTC
(
hide
)
Description:
Bug 37533: fix query in orderreceive.tt
Filename:
MIME Type:
Creator:
Andreas Jonsson
Created:
2024-07-31 09:18:03 UTC
Size:
1.37 KB
patch
obsolete
>From d5fcef8ccc1fbd8b396eaaa1db0f971e9bb00770 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. >--- > 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 19af4bf911..3f997af451 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