Koha/members
Emmi Takkinen 207e10b81a 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>
(cherry picked from commit 3c52b89167)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2024-05-30 19:15:53 +00:00
..
accountline-details.pl
apikeys.pl
boraccount.pl Bug 34731: Don't call SendQueuedMessages if message_id is bad 2023-09-14 07:54:48 -10:00
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-23 13:53:27 +00:00
member.pl Bug 35127: Fix 'Search type' for patron search 2023-10-25 21:49:52 -10:00
memberentry.pl Bug 33849: Do not reset new patrons home library when error occurs 2024-05-30 19:15:53 +00:00
members-home.pl
members-update-do.pl
members-update.pl
merge-patrons.pl
mod_debarment.pl
moremember.pl Bug 36376: (QA follow-up) Tidy 2024-05-28 16:27:54 +00:00
notices.pl Bug 30287: Conditionally render notice preview 2024-01-04 20:34:51 +00:00
patronimage.pl
pay.pl Bug 34870: Perform UTF8 encoding before redirection 2023-10-05 14:35:21 -10:00
paycollect.pl
print_overdues.pl
printfeercpt.pl
printinvoice.pl
printnotice.pl
printslip.pl
purchase-suggestions.pl Bug 35911: Make archived suggestions not show in patron's account 2024-03-19 21:02:57 +00:00
readingrec.pl
recallshistory.pl
routing-lists.pl
search.pl
setstatus.pl
statistics.pl
summary-print.pl
two_factor_auth.pl
update-child.pl