[Koha-bugs] [Bug 17712] Move availability calculation to the Koha namespace

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 2 13:45:33 CET 2016


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

--- Comment #2 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Lari Taskula from comment #0)
> 
> Any thoughts on this idea and current availability in general?

Fist, I very much welcome the idea.

Just in first glance, I would not choose for an Availablity object. We also
need to define what we mean with "available" exactly: available for loan for
instance?

I would probably opt for Koha::Item->is_available methods and similar. Or
perhaps is_available_for_loan, can_be_reserved etc. Same for Koha::Biblio.
Shared code in this regard might perhaps go in Koha::Util::xxx ?

-- 
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