[Koha-bugs] [Bug 15524] Set limit on maximum possible holds per patron by category

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 16 17:22:22 CET 2018


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Passed QA                   |In Discussion

--- Comment #36 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Marcel de Rooy from comment #35)
> [1] With reference to above comments:
> >> Furthermore I would expect to have max_holds also under Default checkout,
> >> hold and return policy. It seems consistent to add it also without a patron
> >> category restriction.
> 
> > That behavior is controlled by the maxreserves system preference. We should 
> > move that out of a syspref and into the circ rules. I'd be happy to do that 
> > on another bug but it's definitely out of the scope of this bug.
> 
> Yes, sir. Please remove maxreserves on a new report. Note that you already
> added code for that by putting max_holds in default_circ_rules. At this
> moment it is actually not used by the interface.
> 
> [2] See my earlier comment about introducing new DBIx constructions. No
> blocker for now, but imo we should add a coding guideline.

About 1 & 2:
And I think that is what is wrong here. We should have
default_circ_rules.max_holds on the interface, then call
GetBranchBorrowerCircRule from CanItemBeReserved
It sounds like a trivial change and so I think it should be added by this patch
set.

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


More information about the Koha-bugs mailing list