Koha/members
Jonathan Druart 866c6850e0
Bug 5161: Keep patron's attributes on warning/duplicate
When a patron is added or modified and a warning appears (duplicate,
inconsistent data, etc.) the form lost the patron's attributes.

Test plan:
Create some attribute types for patrons
Create a new patron, use an userid that already exists and fill the attributes
=> You get a warning and the attributes are kept
Modify the userid and save again
Edit the same patron
Modify the attributes, as well as the userid (to get the duplicate warning)
=> You get a warning and the attributes are kept with the modified
values
Modify the userid and save again
=> The new values are saved
Edit the attributes from the detail page (so not with the full edit form)
Modify them and save
=> The new values are saved

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-04-27 11:28:46 +01:00
..
accountline-details.pl
apikeys.pl
boraccount.pl Bug 23051: (follow-up) Add renewal feedback and move code to subroutines and test 2020-03-06 10:03:34 +00:00
default_messageprefs.pl
deletemem.pl
discharge.pl
discharges.pl
files.pl
guarantor_search.pl
holdshistory.pl
housebound.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
ill-requests.pl
mancredit.pl Bug 17702: Add UI to manage account credit types 2020-02-20 14:46:33 +00:00
maninvoice.pl
member-flags.pl
member-password.pl
member.pl
memberentry.pl Bug 5161: Keep patron's attributes on warning/duplicate 2020-04-27 11:28:46 +01:00
members-home.pl
members-update-do.pl
members-update.pl
merge-patrons.pl
mod_debarment.pl
moremember.pl Bug 20443: Use search_with_library_limits for attribute types 2020-03-23 13:49:22 +00:00
notices.pl
patronimage.pl
pay.pl Bug 23051: (follow-up) Add renewal feedback and move code to subroutines and test 2020-03-06 10:03:34 +00:00
paycollect.pl Bug 23051: (follow-up) Add renewal feedback and move code to subroutines and test 2020-03-06 10:03:34 +00:00
print_overdues.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
printfeercpt.pl
printinvoice.pl Bug 21879: Code cleaning in printinvoice.pl 2020-02-26 20:42:56 +00:00
printslip.pl
purchase-suggestions.pl
readingrec.pl
routing-lists.pl
setstatus.pl
statistics.pl Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
summary-print.pl Bug 24840: Replace DateTime->now with dt_from_string 2020-04-08 11:54:23 +01:00
update-child.pl