[Koha-bugs] [Bug 15757] Hard coded due loan/renewal period of 21 days if no circ rule found in C4::Circulation::GetLoanLength

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 18 17:20:33 CET 2016


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

--- Comment #4 from Nick Clemens <nick at bywatersolutions.com> ---
I suppose a syspref then?

CircRuleUndefinedCheckout: Yes/No/Warn
CircRuleUndefinedCheckoutPeriod: default(21)

So default is 'Yes/Allow' for 21 days?


(In reply to Jonathan Druart from comment #3)
> We could change the different occurrences of
>   if defined($loanlength) && $loanlength->{issuelength};
> with
>   if defined($loanlength) && defined $loanlength->{issuelength};
> To take into account the "0".
> And do not default to 0 when defining the circ rules but NULL instead.
> 
> The only problem is that these behavior changes could be considered as a bug
> for existing installations.

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