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 commit4ab67c196d) Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> (cherry picked from commit53722e6c31) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
a6fc73e0da
commit
642e4fd303
|
|
@ -468,6 +468,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