]> git.koha-community.org Git - koha.git/commit
Bug 33940: Move C4::Members cardnumber sub to Koha::Policy::Patrons::Cardnumber
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 7 Jun 2023 13:37:55 +0000 (15:37 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 15 Sep 2023 14:57:06 +0000 (11:57 -0300)
commitb987fd5afd40bee7ba229ddd28dee272e233702e
tree700038e288a1aa487e9a9a64d128a78433864970
parentb8c4d8bb875bd51ae51ea2c4c8342be2cb228c67
Bug 33940: Move C4::Members cardnumber sub to Koha::Policy::Patrons::Cardnumber

Test plan:
The idea here is to confirm this patch does not introduce regression.
For that you will play with the CardnumberLength syspref and create a
new user, modify an existing one, and check that the UI does not let you
modify an invalid cardnumber.
The onboarding process and the patron import tool will also have to be tested

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Bug 33940: Fix selfreg

please squash with first patch

Bug 33940: Fix messages we sent to templates

please squash with the first patch

Bug 33940: Fix what we send to memberentry

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Members.pm
Koha/Patrons/Import.pm
Koha/Policy/Patrons/Cardnumber.pm [new file with mode: 0644]
installer/onboarding.pl
members/memberentry.pl
opac/opac-memberentry.pl
t/Members/cardnumber.t [deleted file]
t/db_dependent/Koha/Policy/Patrons/Cardnumber.t [new file with mode: 0755]
t/db_dependent/Members.t