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

            Bug ID: 18150
           Summary: CanItemBeReserved don't work with (IndependentBranches
                    AND ! canreservefromotherbranches)
 Change sponsored?: Sponsored
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Circulation
          Assignee: koha-bugs@lists.koha-community.org
          Reporter: nicolas.legr...@bulac.fr
        QA Contact: testo...@bugs.koha-community.org
                CC: gmcha...@gmail.com, kyle.m.h...@gmail.com

If you have independent branches and forbid holds between branches you won't be
able to place a hold on an item you should be able to reserve. This is because
it tests the item homebranch as if the $item variable was a hash whereas, if it
did began as such, by the middle of the function it is replaced by a Koha
object.

So $item->{homebranch} should be $item->homebranch.

Patch coming soon.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to