[Koha-bugs] [Bug 15534] Add the ability to prevent a patron from placing a hold on a record with available items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Jan 16 13:30:43 CET 2016


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

--- Comment #3 from Kyle M Hall <kyle at bywatersolutions.com> ---
(In reply to Owen Leonard from comment #2)

I think we can establish right now that we can't change the shelf holds
behavior. It has been this way so long that it is a fundamental part of how
Koha works. We can however, add an alternative.

I think the basic issue is that shelfholds = no and
allow_hold_if_items_available are fundamentally at odss with each other and
should be mutually exclusive. I had though to somehow extend shelfholds, but
it's inner workings are completely different than what is needed for
allow_hold_if_items_available.

It *would* be possible for an additional option in on shelf holds allowed, so
the choices would be:
Yes
Only if at least one item is unavailable
Only if all itmes are unavailble

This would require a bit more code, changing all the shelfhold checks from if
$shelfholds to if $shelfholds == 1, but that isn't too onerous a change.

Then I could remove my new rule and use the existing shelfholds rule for the
new logic code.

How does that sound Owen?

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


More information about the Koha-bugs mailing list