]> git.koha-community.org Git - koha.git/commit
Bug 27430: Change password minimum value hint when patron category is changed
authorEmmi Takkinen <emmi.takkinen@koha-suomi.fi>
Mon, 18 Jan 2021 09:20:06 +0000 (11:20 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 1 Feb 2021 15:36:38 +0000 (16:36 +0100)
commitef5ec1731a971cfcf562f0744ef3a78ac0e75058
tree6835b78626e1dcb2196e76f42a4f9b2ddddd6faf
parent545c384205534fc52557bbe0eb4990405a44c7f7
Bug 27430: Change password minimum value hint when patron category is changed

If patrons category is changed during add or edit password
minimum value doesn't change. This patch adds ajax call to
fix this.

To test:
1. Add password minimum length for patron
categories A and B.
2. Create a new patron with category A.
3. Change patrons category to B.
4. Note that password minimum value doesn't change
on hint text.
5. Apply patch.
6. Repeat patron creation, password minimum value
should now change correctly.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
koha-tmpl/intranet-tmpl/prog/js/members.js