[Koha-bugs] [Bug 5932] New: subroutine itemdata to be replaced in C4::Serials

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 22 15:59:28 CET 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5932

             Bug #: 5932
           Summary: subroutine itemdata to be replaced in C4::Serials
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Serials
        AssignedTo: colin.campbell at ptfs-europe.com
        ReportedBy: colin.campbell at ptfs-europe.com
         QAContact: koha-bugs at lists.koha-community.org


C4::Serials has an internal subroutine itemdata which retrieves all the data
from items and biblioitems for a given barcode. Its only use is as a boolean
check of whether the given barcode has been assigned or not. The current
functionality clearly does not belong in C4::Serials.

Replace with a with a lighter function which only returns the info we are
interested in, pending clean up of the Item interface. Should make code more
maintainable/redeable and possibly save a couple of cpu cycles.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list