From 8605d093141dbf14c3786fc3a2192d3c3e09c72a Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 29 Oct 2024 08:09:58 -0300 Subject: [PATCH] Bug 37639: (follow-up) Remove redundant mappings from Koha::Item::to_api_mapping() Signed-off-by: Tomas Cohen Arazi Signed-off-by: Katrin Fischer --- Koha/Item.pm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Koha/Item.pm b/Koha/Item.pm index 2d851c42ce..92803c2618 100644 --- a/Koha/Item.pm +++ b/Koha/Item.pm @@ -1838,7 +1838,6 @@ sub to_api_mapping { damaged_on => 'damaged_date', itemlost => 'lost_status', itemlost_on => 'lost_date', - withdrawn => 'withdrawn', withdrawn_on => 'withdrawn_date', itemcallnumber => 'callnumber', coded_location_qualifier => 'coded_location_qualifier', @@ -1849,15 +1848,12 @@ sub to_api_mapping { itemnotes => 'public_notes', itemnotes_nonpublic => 'internal_notes', holdingbranch => 'holding_library_id', - timestamp => 'timestamp', - location => 'location', permanent_location => 'permanent_location', onloan => 'checked_out_date', cn_source => 'call_number_source', cn_sort => 'call_number_sort', ccode => 'collection_code', materials => 'materials_notes', - uri => 'uri', itype => 'item_type_id', more_subfields_xml => 'extended_subfields', enumchron => 'serial_issue_number', -- 2.39.5