Koha/members
Emmi Takkinen 3c52b89167 Bug 33849: Do not reset new patrons home library when error occurs
While adding new patron, if patron is flagged as duplicate
or another error occurs and their home library differs from
library user is logged in, patrons home library resets as
logged in users library. This happens with all patrons
expect those with category type C. This patch removes checking
if patrons category type is C from code so that all category
types use previously chosen home library even if error occurs.

To test:
1. Add new patron and set their library to a different
library than the one you're logged in.
2. Cause an error (wrong age, duplicate etc) while saving.
3. Attempt to save.
=> Note that patrons home library is set as one you're
logged in.
4. Apply this patch.
5. Repeat steps 1 to 3.
=> Note that patrons home library hasn't changed.

Sponsored-by: Koha-Suomi Oy
Signed-off-by: Esther <esther@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit d2f41df188)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2024-05-29 13:57:54 +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 33849: Do not reset new patrons home library when error occurs 2024-05-29 13:57:54 +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 36376: (QA follow-up) Tidy 2024-05-23 11:14:20 +02: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