Bug 24611: Fix wrong budget_id query param in /acquisitions/orders
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 7 Feb 2020 12:51:10 +0000 (09:51 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 13 Feb 2020 15:55:50 +0000 (15:55 +0000)
commitac8d6074111103dec0028f68f2da4e8adbe7c663
treedc5a2de08b525ffe8d801f58d51767774248be1c
parent0433960ed8cb72be475f979cdd1f4401c70f2b20
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>
api/v1/swagger/paths/acquisitions_orders.json