[Koha-bugs] [Bug 7621] Circulation: Match age restriction of title with borrower's age without using categories

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 29 19:08:30 CET 2012


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

Marc Véron <veron at veron.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |veron at veron.ch

--- Comment #2 from Marc Véron <veron at veron.ch> 2012-02-29 18:08:30 UTC ---
(In reply to comment #1)
> I might add that it might be helpful to have this for "canBookBeReserved" as
> well.

It seems that CanBookBeReserved works on borrower and item data only (in
Reserves.pm it loops through items and calls CanItemBeReserved ).

The first idea would be to let CanBookBeReserved call CanBookBeIssued as well,
but in this case at least the parameter handling of CanBookBeIssued would need 
modifications. It might even be necessary to break down CanBookBeIssued to
several single sub routines (for each check one). This way, CanBokBeReserved
and CanBookBeIssued could call the sub routines as appropriate.

I think this would lead to some bigger architectural modifications.

My proposition is to implement the functionality for CanBookBeIssued in a first
step and to do the integration with CanBookBeIssued later.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list