Koha/members
Fridolin Somers c65b3a3813 Bug 36321: Problem when dateexpiry in BorrowerUnwantedField
hen dateexpiry is in BorrowerUnwantedField it is hidden in patron edition form.
The problem is when editing an existing patron the value is re-computed with category settings, as if it where empty.

This comes from all fields in BorrowerUnwantedField beeing removed from %newdata in memberentry.pl.
Whe must skip dateexpiry.

Test plan :
1) Be sure dateexpiry is not in BorrowerUnwantedField
2) Define a patron category with enrollment period 12 month
3) Create a new patron in this category
4) Its expiration date is in now + 12 month
5) Edit the patron category to set enrollment period 6 month
6) Add dateexpiry in BorrowerUnwantedField
7) Edit the patron and save
=> Without patch the expiration date is changed to now + 6 month
=> With patch the exporation date is unchanged

Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>

Perl-tidied.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 571521ba13)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2024-05-22 15:43:28 +02:00
..
accountline-details.pl
alert-subscriptions.pl
apikeys.pl
boraccount.pl
cancel-charge.pl
default_messageprefs.pl
deletemem.pl
discharge.pl
discharges.pl
files.pl
holdshistory.pl
housebound.pl
ill-requests.pl
mancredit.pl
maninvoice.pl
member-flags.pl
member-password.pl Bug 33832: Allow updating username without changing password on member-password.pl 2024-05-22 14:13:13 +02:00
member.pl Bug 30230: Add new 'list_borrowers' permission 2024-02-01 16:22:55 +01:00
memberentry.pl Bug 36321: Problem when dateexpiry in BorrowerUnwantedField 2024-05-22 15:43:28 +02:00
members-home.pl Bug 30230: Add new 'list_borrowers' permission 2024-02-01 16:22:55 +01:00
members-update-do.pl
members-update.pl
merge-patrons.pl
mod_debarment.pl
moremember.pl Bug 30230: Add new 'list_borrowers' permission 2024-02-01 16:22:55 +01:00
notices.pl Bug 30287: Conditionally render notice preview 2024-01-03 16:03:42 +01:00
patronimage.pl
pay.pl
paycollect.pl
print_overdues.pl
printfeercpt.pl
printinvoice.pl
printnotice.pl
printslip.pl Bug 32986: (QA follow-up) Fix QA script complaints: tabs and TT filters 2023-11-08 17:59:33 -03:00
purchase-suggestions.pl Bug 35911: Make archived suggestions not show in patron's account 2024-03-11 15:16:17 +01:00
readingrec.pl
recallshistory.pl
routing-lists.pl
search.pl Bug 34519: Add a template plugin for fetch searchable patron attributes 2023-11-08 17:52:37 -03:00
setstatus.pl
statistics.pl
summary-print.pl
two_factor_auth.pl
update-child.pl