From 2e6a3970d4c83352a4d9b9b03bb8fbf6e922ed5a Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 6 Jun 2023 15:24:36 -0300 Subject: [PATCH] Bug 21983: (QA follow-up) Skip deleted_biblio_id from the API object Signed-off-by: Tomas Cohen Arazi --- Koha/Illrequest.pm | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/Koha/Illrequest.pm b/Koha/Illrequest.pm index 4af4aa8c755..90dab74b174 100644 --- a/Koha/Illrequest.pm +++ b/Koha/Illrequest.pm @@ -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', }; } -- 2.41.0