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> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
4ebbff7390
commit
29daece9bc
|
|
@ -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": {
|
||||
|
|
|
|||
Loading…
Reference in New Issue