[Koha-bugs] [Bug 18150] New: CanItemBeReserved don't work with ( IndependentBranches AND ! canreservefromotherbranches)
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Feb 22 10:10:00 CET 2017
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 at lists.koha-community.org
Reporter: nicolas.legrand at bulac.fr
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at 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.
More information about the Koha-bugs
mailing list