Browse Source

Bug 24611: Fix wrong budget_id query param in /acquisitions/orders

This patch fixes the wrong query parameter that slipped on rewriting the
patches for the voted RFC.

To test:
1. Apply the tests patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/acquisitions_orders.t
=> FAIL: Tests fail because fund_id is not a valid query parameter
3. Apply this patch
4. Repeat (2)
=> SUCCESS: Tests pass!
5. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
20.05.x
Tomas Cohen Arazi 2 years ago
committed by Martin Renvoize
parent
commit
ac8d607411
Signed by: martin.renvoize GPG Key ID: 422B469130441A0F
  1. 4
      api/v1/swagger/paths/acquisitions_orders.json

4
api/v1/swagger/paths/acquisitions_orders.json

@ -26,9 +26,9 @@
"type": "integer"
},
{
"name": "budget_id",
"name": "fund_id",
"in": "query",
"description": "Identifier for the budget the order goes against",
"description": "Identifier for the fund the order goes against",
"required": false,
"type": "integer"
},

Loading…
Cancel
Save