[Koha-bugs] [Bug 14301] “No renewal before” does not accept 0 as parameter.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun May 31 16:46:03 CEST 2015


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

--- Comment #4 from bondiurbano <costalc at gmail.com> ---
(In reply to Katrin Fischer from comment #3)
> This sounds similar to what we discussed on bug 14101 - linking both bugs
> together for now.

Hi Katrin!

I'd like to contribute with a comment:

As I understand the problem "no renewal before" is independent from
"auto_renew". 

1) First of all Koha should look for "auto_renew" conditions and apply them if
they are true
2) THEN Koha should look for "no renewal before" conditions.

"no renewal before" only forces patrons and staff to renew issues in a range of
days previous of the issue due-date. Imagine an issue that dues today may 31.
If "no renewal before" is set to 1 it means that renewals are allowed on days
31 and 30; if it is set to 2 renewals are allowed on days 31, 30 and 29. But in
this schema, which is the current schema, it is not possible to set "no renewal
before" to 0. Setting "no renewal before" to 0 would enable renewals to be
update only for due-date. 

So, the problem resides in how Koha calculates the enabled range of dates to
renew the issues. Therefore it is independent from "auto_renew".

( Overriding this function in staff intranet works fine now. )

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


More information about the Koha-bugs mailing list