[Koha-bugs] [Bug 9532] New: reserve rules with itemtype on biblio

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 1 17:51:44 CET 2013


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

            Bug ID: 9532
           Summary: reserve rules with itemtype on biblio
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: fridolyn.somers at biblibre.com
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

When itemtype is defined on biblio (item-level_itypes syspref), the method
C4::Reserves::CanItemBeReserved uses item->{itemtype}. But item comes from
C4::Items::GetItem and it does not have a 'itemtype' key, in this method the
item type value is always in 'itype' key.

The consequence is that if a rule defines 0 reservations for an itemtype and
for example 10 for all itemtypes, the issuing rule used will always be the one
with 10 and so will allow reservation.

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


More information about the Koha-bugs mailing list