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

--- Comment #5 from Alex Buckley <alexbuck...@catalyst.net.nz> ---
Created attachment 91784
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91784&action=edit
Bug 22806 : (follow-up) CanBookBeReserved and CanItemBeReserved must check
AllowHoldsOnPatronsPossessions

As CanBookBeReserved() was failing as $patron and and $biblio were not
instantiated I fixed that up.

Test plan :
1 - set AllowHoldsOnPatronsPossessions to "Don't Allow"
2 - Checkout an item to a borrower
3 - Try to reserve an item using ILS-DI WebService -> Will work without
complaining.
4 - Cancel the hold and apply patch
5 - Repeat 3 -> Should not place hold and show error "NotHoldable"

Sponsored-By: Catalyst IT

-- 
You are receiving this mail because:
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