]> git.koha-community.org Git - koha.git/commit
Bug 9576: can now control whether max loans limit can be overriden
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 11 Feb 2013 13:27:05 +0000 (08:27 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 17 Jul 2013 15:07:42 +0000 (15:07 +0000)
commit835f745b55c47ccc7087950419b68d036b908cc2
tree743e49bffcc7cf6781de33b75d78f08ba1448d55
parent81431fdc8654e95e9fea37c4de880e9cf6126b26
Bug 9576: can now control whether max loans limit can be overriden

Adds a new system preference AllowTooManyOverride to control whether
a librarian can override the 'Too many checked out' message which is
currently always overridable.

Test Plan:
1) Apply patch
2) Run updatedatabase.pl
3) Attempt to check out 1 more item to a patron than the max issues
4) You should be allowed to override by default ( current behavior )
5) Set AllowTooManyOverride to "Don't allow"
6) Repeat step 3
7) You should be blocked from being able to issue the item

Signed-off-by: Srdjan <srdjan@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
The new system preference is activated by default, which mean there
will be no change in behaviour on update.

The system preference is correctly added to the database and .pref
files.

Test plan and QA script passes.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Circulation.pm
installer/data/mysql/sysprefs.sql
installer/data/mysql/updatedatabase.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt