Bug 33262: Add new field to REST API route for orders
Without this patch the API driven list of pending orders
on the order receive page was broken.
With the patch, all should be well now.
prove -v t/db_dependent/api/v1/acquisitions_orders.t
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 4ab67c196d)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
f79ae8283d
commit
53722e6c31
|
|
@ -602,6 +602,7 @@ sub to_api_mapping {
|
|||
return {
|
||||
basketno => 'basket_id',
|
||||
biblionumber => 'biblio_id',
|
||||
deleted_biblionumber => 'deleted_biblio_id',
|
||||
budget_id => 'fund_id',
|
||||
budgetdate => undef, # unused
|
||||
cancellationreason => 'cancellation_reason',
|
||||
|
|
|
|||
|
|
@ -9,6 +9,11 @@ properties:
|
|||
- integer
|
||||
- "null"
|
||||
description: Identifier for the linked bibliographic record
|
||||
deleted_biblio_id:
|
||||
type:
|
||||
- integer
|
||||
- "null"
|
||||
description: Identifier for the linked deleted bibliographic record
|
||||
created_by:
|
||||
type:
|
||||
- integer
|
||||
|
|
|
|||
Loading…
Reference in New Issue