Main Koha release repository https://koha-community.org
Find a file
Jonathan Druart d46a664ef6 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@gmail.com>
Works as described.
No errors

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-04-22 00:24:05 +00:00
acqui Bug 16227: Fix regression from bug 15084 - select currencies correctly 2016-04-20 18:35:38 +00:00
admin Bug 15757: Make issuelength default to null instead of 0 2016-04-22 00:24:05 +00:00
api/v1
authorities Bug 5404: C4::Koha - remove subfield_is_koha_internal_p 2016-03-07 17:30:09 +00:00
basket Bug 14306: Show URL from MARC21 field 555$u under Title Notes/Descriptions 2016-03-07 17:58:32 +00:00
C4 [SIGNED-OFF] Bug 16210: Set X-Frame-Options to SAMEORIGIN in 2 other places 2016-04-20 16:06:32 +00:00
catalogue Bug 16157: Move the selected flag from GetAuthorisedValues to the templates 2016-04-07 00:16:09 +00:00
cataloguing Bug 16169: Change prototype for C4::Biblio::TransformMarcToKoha 2016-04-07 00:04:21 +00:00
circ Bug 16169: Change prototype for C4::Biblio::TransformMarcToKoha 2016-04-07 00:04:21 +00:00
course_reserves Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
debian [SIGNED-OFF] Bug 16190: Enable the indexer daemon by default 2016-04-19 17:50:17 +00:00
docs
errors
etc Bug 16222: (QA followup) Add /api dir for the API 2016-04-20 21:18:36 +00:00
install_misc Bug 16011: $VERSION - Remove the $VERSION init 2016-03-24 17:20:28 +00:00
installer DBRev for Bug 15008 - Add custom HTML areas to circulation and reports home pages 2016-04-07 05:45:42 +00:00
Koha Bug 16104: Remove warnings "used only once: possible typo" 2016-04-20 20:25:51 +00:00
koha-tmpl Bug 14816: Fix multiple selection in item search 2016-04-20 21:00:49 +00:00
labels Bug 16169: Change prototype for C4::Biblio::TransformMarcToKoha 2016-04-07 00:04:21 +00:00
members Bug 16157: Move the selected flag from GetAuthorisedValues to the templates 2016-04-07 00:16:09 +00:00
misc Bug 16169: Change prototype for C4::Biblio::TransformMarcToKoha 2016-04-07 00:04:21 +00:00
offline_circ
opac Bug 16179: Do not crash if "rate me" is clicked and not rate selected 2016-04-20 19:50:00 +00:00
OpenILS
patron_lists
patroncards Bug 16077 - Remove unused script and template card-print 2016-03-22 00:43:06 +00:00
plugins
reports Bug 16184 - Report bor_issues_top shows incorrect number of rows 2016-04-06 22:10:24 +00:00
reserve Bug 15548: Move new patron related code to Patron* 2016-03-03 14:38:26 -07:00
reviews
rotating_collections
selenium
serials Bug 16157: Move the selected flag from GetAuthorisedValues to the templates 2016-04-07 00:16:09 +00:00
services
skel
sms
suggestion Bug 16157: Move the selected flag from GetAuthorisedValues to the templates 2016-04-07 00:16:09 +00:00
svc Bug 11998: Use Koha::Cache to cache sysprefs 2016-03-15 07:08:28 +00:00
t Bug 15757: Add one test for GetLoanLength 2016-04-22 00:24:05 +00:00
tags
test
tmp/modified_authorities
tools Bug 10612: (QA followup) 2016-04-01 19:52:14 +00:00
virtualshelves Bug 14306: Remove call to GetMarcNotes from sendshelf 2016-03-07 17:58:33 +00:00
xt Bug 16174: (QA followup) Fix remaining tests 2016-04-01 19:11:33 +00:00
.editorconfig
.htaccess Fix file permissions: if it is not a script, it should not be executable. 2010-04-16 00:40:34 -04:00
.mailmap
about.pl Bug 15548: Move new patron related code to Patron* 2016-03-03 14:38:26 -07:00
changelanguage.pl
edithelp.pl
fix-perl-path.PL
help.pl
INSTALL
install-CPAN.pl
INSTALL.debian
INSTALL.fedora7
INSTALL.opensuse
INSTALL.ubuntu
Koha.pm DBRev for Bug 15008 - Add custom HTML areas to circulation and reports home pages 2016-04-07 05:45:42 +00:00
koha_perl_deps.pl
kohaversion.pl
LICENSE
mainpage.pl Bug 15548: Move new patron related code to Patron* 2016-03-03 14:38:26 -07:00
Makefile.PL Bug 16222: (QA followup) Add /api dir for the API 2016-04-20 21:18:36 +00:00
MANIFEST.SKIP
README
README.md Bug 15465 [QA Followup] - Update wording, switch logo, add links 2016-02-24 04:02:26 +00:00
README.robots
rewrite-config.PL Bug 16222: (QA followup) Add /api dir for the API 2016-04-20 21:18:36 +00:00

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: This is a synced mirror of the official Koha repo.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-comminity.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo