[Koha-bugs] [Bug 19298] New: allow_onshelf_holds is not calculated correctly in opac-shelves

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 12 23:32:06 CEST 2017


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

            Bug ID: 19298
           Summary: allow_onshelf_holds is not calculated correctly in
                    opac-shelves
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: normal
          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

The call is:
  $this_item->{allow_onshelf_holds} =
C4::Reserves::OnShelfHoldsAllowed($this_item, $patron);

But $this_item is not an item, but bibliographic record information.

C4::Reserves::_get_itype is used to know the correct "itemtype", but
biblioitems.itemtype will always be picked as we do not have items information.

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


More information about the Koha-bugs mailing list