Bug 21983: (QA follow-up) Skip deleted_biblio_id from the API object

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Tomás Cohen Arazi 2023-06-06 15:24:36 -03:00
parent d235937259
commit 35628505de
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -1895,20 +1895,21 @@ sub TO_JSON {
sub to_api_mapping {
return {
illrequest_id => 'ill_request_id',
borrowernumber => 'patron_id',
branchcode => 'library_id',
status_alias => 'status_av',
placed => 'requested_date',
replied => 'replied_date',
updated => 'timestamp',
completed => 'completed_date',
accessurl => 'access_url',
price_paid => 'paid_price',
notesopac => 'opac_notes',
notesstaff => 'staff_notes',
orderid => 'ill_backend_request_id',
backend => 'ill_backend_id',
accessurl => 'access_url',
backend => 'ill_backend_id',
borrowernumber => 'patron_id',
branchcode => 'library_id',
completed => 'completed_date',
deleted_biblio_id => undef,
illrequest_id => 'ill_request_id',
notesopac => 'opac_notes',
notesstaff => 'staff_notes',
orderid => 'ill_backend_request_id',
placed => 'requested_date',
price_paid => 'paid_price',
replied => 'replied_date',
status_alias => 'status_av',
updated => 'timestamp',
};
}