]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 5 Feb 2021 15:48:30 +0000 (16:48 +0100)
commit946ff4b196015290df1d85017494b53914709dd0
tree9cf9a459c2aa2e02bdd0e1a2d2f7c14a69e037d1
parent78b95ec0ab8c520831e50d20bd1682577b85d020
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>
(cherry picked from commit ef5ec1731a971cfcf562f0744ef3a78ac0e75058)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
koha-tmpl/intranet-tmpl/prog/js/members.js