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

--- Comment #3 from Kyle M Hall <[email protected]> ---
(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.
_______________________________________________
Koha-bugs mailing list
[email protected]
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