[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
Mon Apr 11 21:26:04 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15757
Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #50015|0 |1
is obsolete| |
--- Comment #27 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 50132
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50132&action=edit
[SIGNED-OFF] Bug 15757: Make issuelength default to null instead of 0
When editing circ rules, if the Loan period "issuelength" is not defined
(empty string), the default value was 0, not it's inserted in the DB as
NULL.
Test plan:
1/ Create or edit a circ rule
2/ Do not fill the Loan period column
3/ Save
=> Without this patch, the value was 0
=> With this patch it's now an empty string (in the DB it's set to NULL)
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Works as described.
No errors
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list