From a9bbc44258ffa280673787c3b2985b475ae3df58 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 21 Aug 2020 11:29:10 +0100 Subject: [PATCH] Bug 26268: Remove final references to paidfor db field --- Koha/Item.pm | 2 -- .../intranet-tmpl/prog/en/modules/admin/preferences/items.json | 1 - 2 files changed, 3 deletions(-) diff --git a/Koha/Item.pm b/Koha/Item.pm index 84ba2da33c..a96ad95223 100644 --- a/Koha/Item.pm +++ b/Koha/Item.pm @@ -184,7 +184,6 @@ sub store { and $pre_mod_item->itemlost > 0 ) { $self->_set_found_trigger($pre_mod_item); - $self->paidfor(''); } C4::Biblio::ModZebra( $self->biblionumber, "specialUpdate", "biblioserver" ) @@ -933,7 +932,6 @@ sub to_api_mapping { itemnotes => 'public_notes', itemnotes_nonpublic => 'internal_notes', holdingbranch => 'holding_library_id', - paidfor => undef, timestamp => 'timestamp', location => 'location', permanent_location => 'permanent_location', diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/items.json b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/items.json index af89c0fafe..ceec5c9466 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/items.json +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/items.json @@ -28,7 +28,6 @@ "itemnotes": "itemnotes", "itemnotes_nonpublic": "itemnotes_nonpublic", "holdingbranch": "holdingbranch", - "paidfor": "paidfor", "timestamp": "timestamp", "location": "location", "permanent_location": "permanent_location", -- 2.20.1