Bug 30392: (QA follow-up) Remove deleted_on from the API response
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 2 Aug 2022 11:45:07 +0000 (08:45 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 2 Aug 2022 11:45:07 +0000 (08:45 -0300)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Biblio.pm
Koha/Item.pm

index 0af49b9..5a1be3c 100644 (file)
@@ -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,
     };
 }
 
index 4dc41b9..b3ac362 100644 (file)
@@ -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,
     };
 }