Bug 15690: CardnumberLength should not be bigger than 16
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 13 Sep 2016 14:43:50 +0000 (15:43 +0100)
committerMason James <mtj@kohaaloha.com>
Mon, 12 Dec 2016 01:54:10 +0000 (14:54 +1300)
commitd92252a6a384dca5c0c16867dbf6754b68f2c267
tree632b8cf779dd22132620aa588ade23d57f599692
parent9307d43a10a043820e237e68ee5197607ecd03f7
Bug 15690: CardnumberLength should not be bigger than 16

borrowers.cardnumber is a varchar(16), so CardnumberLength should not
have a max > 16

Test plan:
Test different value in CardnumberLength ("20", "20,30", "40,")
Edit a patron a make sure the text display under the cardnumber input is
correct

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Marc <veron@veron.ch>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Mason James <mtj@kohaaloha.com>
C4/Members.pm
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
t/Members/cardnumber.t