From bd268aa7d5ef8dd1a9183ad6567613c31bd9efb0 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 2 Aug 2022 08:45:07 -0300 Subject: [PATCH] Bug 30392: (QA follow-up) Remove deleted_on from the API response Signed-off-by: Tomas Cohen Arazi --- Koha/Biblio.pm | 3 ++- Koha/Item.pm | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Koha/Biblio.pm b/Koha/Biblio.pm index 0af49b939e..5a1be3cfe2 100644 --- a/Koha/Biblio.pm +++ b/Koha/Biblio.pm @@ -1130,7 +1130,8 @@ sub to_api_mapping { unititle => 'uniform_title', seriestitle => 'series_title', copyrightdate => 'copyright_date', - datecreated => 'creation_date' + datecreated => 'creation_date', + deleted_on => undef, }; } diff --git a/Koha/Item.pm b/Koha/Item.pm index 4dc41b9d78..b3ac362334 100644 --- a/Koha/Item.pm +++ b/Koha/Item.pm @@ -1400,7 +1400,8 @@ sub to_api_mapping { enumchron => 'serial_issue_number', copynumber => 'copy_number', stocknumber => 'inventory_number', - new_status => 'new_status' + new_status => 'new_status', + deleted_on => undef, }; } -- 2.39.5