]> git.koha-community.org Git - koha.git/commit
Bug 20991: Do not lost patron's category when editing a patron
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 26 Jun 2018 16:04:01 +0000 (13:04 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 4 Jul 2018 13:59:33 +0000 (15:59 +0200)
commitdf373dc6886eb20d1a5e76d07e7005216de2cba8
tree27d7d5bf01f87887f85b8403ea94f3210e0155b0
parentbdb60e7d19c8a7d5d80e064429a02779cb620a19
Bug 20991: Do not lost patron's category when editing a patron

If there is an error in the edit patron form the patron's category is
lost.
This seems to be a long standing bug.

Test plan:
- Edit an existing patron
- Change the patron category to a category that triggers the error that
the user is not in the right age range for that new category
- Save, error is triggered
=> Without this patch the patron category has been reset

You should also test different ways to edit/add a patron (quick add,
step 1)

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit b3cd4a382ffad36668164749dafb58d48c00d7f1)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
members/memberentry.pl