Bug 10455: (follow-up 2) Remove biblioitems.marc
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 25 Aug 2016 12:31:38 +0000 (13:31 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 21 Oct 2016 14:35:00 +0000 (14:35 +0000)
Signed-off-by: Mason James <mtj@kohaaloha.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/ILSDI/Services.pm

index 72bbbb7..7c5e5f3 100644 (file)
@@ -205,9 +205,6 @@ sub GetRecords {
             $biblioitem->{marcxml} = $record->as_xml_record();
         }
 
-        # We don't want MARC to be displayed
-        delete $biblioitem->{'marc'};
-
         # Get most of the needed data
         my $biblioitemnumber = $biblioitem->{'biblioitemnumber'};
         my $reserves         = GetReservesFromBiblionumber({ biblionumber => $biblionumber });
@@ -414,7 +411,6 @@ sub GetPatronInfo {
             my $branchname = $library ? $library->branchname : '';
 
             # Remove unwanted fields
-            delete $item->{'marc'};
             delete $item->{'marcxml'};
             delete $item->{'more_subfields_xml'};