Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members
Galen Charlton 556eb67718 Bug 108661: (follow-up) enshrine letting CardnumberLength specify just a maximum
This patch finishes the work started in one of the previous
follow-ups and allows CardnumberLength to be set to a value
like ',5'.  In conjunction with not including cardnumber in
BorrowerMandatoryField, this allows a cardnumber to not be
required but, if present, to not exceed the specified length.

This patch also updates t/db_dependent/Members.t so that
it runs in a transaction, tests the new return value
of checkcardnumber, and manages the CardnumberLength syspref.

To test:

[1] Verify that prove -v t/db_dependent/Members.t and
    prove -v t/Members/cardnumber.t pass.
[2] Set CardnumberLength to ",5" and take cardnubmer out of
    the BorrowerMandatoryField list.
[3] Verify that you can save a patron record without a cardnumber,
    but if you supply one, that it can be at most 5 characters long.
[4] Add cardnumber back to BorrowerMandatoryField.  This time, the
    minimum length is 1 even though CardnumberLength is ",5".

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-03-12 04:07:03 +00:00
..
boraccount.tt Bug 2546: make description of standard fine types translatable 2013-12-05 18:44:33 +00:00
deletemem.tt
files.tt Bug 6261 [Revised] Consolidate patron toolbar include files 2012-12-27 18:36:42 -05:00
guarantor_search.tt
mancredit.tt Bug 11554: Capitalization fix in patron account on fines tab 2014-01-15 15:33:56 +00:00
maninvoice.tt Bug 11554: Capitalization fix in patron account on fines tab 2014-01-15 15:33:56 +00:00
member-flags.tt Bug 8061: RTL CSS overrides (staff client) 2013-04-07 12:51:54 -04:00
member-password.tt
member.tt Bug 10318: Show primary email in patron search results 2014-01-13 21:33:09 +00:00
memberentrygen.tt Bug 108661: (follow-up) enshrine letting CardnumberLength specify just a maximum 2014-03-12 04:07:03 +00:00
members-update.tt Bug 10924: fix updating contact note from OPAC 2013-09-23 18:05:46 +00:00
moremember-brief.tt Bug 9406: ensure confirmation of patron renewal is displayed 2013-03-30 21:22:00 -04:00
moremember-print.tt Bug 10592: fix display of favicon 2013-07-22 14:00:23 +00:00
moremember-receipt.tt Bug 10592: fix display of favicon 2013-07-22 14:00:23 +00:00
moremember.tt Bug 11717 - Use new DataTables include in member templates 2014-02-27 15:33:26 +00:00
notices.tt Bug 11605: fallback to default DataTables settings where possible 2014-03-10 19:05:51 +00:00
pay.tt Bug 11488: make string "Are you sure you want to write off ..." translatable 2014-01-31 15:51:12 +00:00
paycollect.tt Bug 6413 - QA Followup - Add notes for 'Pay selected' 2013-05-21 16:32:12 -07:00
printfeercpt.tt Bug 10592: fix display of favicon 2013-07-22 14:00:23 +00:00
printinvoice.tt Bug 10027: (follow-up) improve display of fine details on printed invoice 2013-09-08 06:24:39 +00:00
purchase-suggestions.tt Bug 11802 - corrects for the patron purchase suggestions page 2014-03-10 15:11:53 +00:00
readingrec.tt Bug 11717 - Use new DataTables include in member templates 2014-02-27 15:33:26 +00:00
routing-lists.tt Bug 6261 [Revised] Consolidate patron toolbar include files 2012-12-27 18:36:42 -05:00
search.tt
statistics.tt Bug 11717 - Use new DataTables include in member templates 2014-02-27 15:33:26 +00:00
update-child.tt Bug 11717 - Use new DataTables include in member templates 2014-02-27 15:33:26 +00:00