[Koha-bugs] [Bug 18270] New: No need to fetch the MARC record when deleting an item

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 15 13:29:57 CET 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18270

            Bug ID: 18270
           Summary: No need to fetch the MARC record when deleting an item
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: minor
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: jonathan.druart at bugs.koha-community.org
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org

>From C4::Items::DelItem

 683     # get the MARC record                                                  
 684     my $record = GetMarcBiblio($biblionumber);                             
 685     ModZebra( $biblionumber, "specialUpdate", "biblioserver" );            
 686                                                                            
 687     #search item field code                                                
 688     logaction("CATALOGUING", "DELETE", $itemnumber, "item") if
C4::Context->preference("CataloguingLog");
 689     return $deleted;                                                       
 690 }   

The GetMarcBiblio call is not needed.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list