From ff64264092f663cf32ba44f2e46367c237f97ddd 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 Signed-off-by: Kyle M Hall Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart --- 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 0da3a46f00..5b12115932 100644 --- a/Koha/Item.pm +++ b/Koha/Item.pm @@ -183,7 +183,6 @@ sub store { and $pre_mod_item->itemlost > 0 ) { $self->_set_found_trigger($pre_mod_item); - $self->paidfor(''); } logaction( "CATALOGUING", "MODIFY", $self->itemnumber, "item " . Dumper($self->unblessed) ) @@ -936,7 +935,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.39.5