Koha/members
Emmi Takkinen d2f41df188
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>
2024-05-13 10:36:09 +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 Bug 35581: Koha::Illrequest -> Koha::ILL::Request 2024-04-22 08:57:45 +02:00
mancredit.pl
maninvoice.pl
member-flags.pl
member-password.pl Bug 33832: Allow updating username without changing password on member-password.pl 2024-04-18 16:51:11 +02:00
member.pl Bug 36302: members-home.pl defers loading, member.pl does not 2024-04-03 09:53:31 +02:00
memberentry.pl Bug 33849: Do not reset new patrons home library when error occurs 2024-05-13 10:36:09 +02:00
members-home.pl Bug 36302: members-home.pl defers loading, member.pl does not 2024-04-03 09:53:31 +02:00
members-update-do.pl
members-update.pl
merge-patrons.pl
mod_debarment.pl
moremember.pl Bug 36376: (QA follow-up) Tidy 2024-04-04 15:24:31 +02:00
notices.pl
patronimage.pl
pay.pl
paycollect.pl
print_overdues.pl Bug 33478: Apply formatting to OVERDUES_SLIP 2024-04-26 20:15:42 +02:00
printfeercpt.pl Bug 33478: Apply formatting to ACCOUNT_CREDIT 2024-04-26 20:15:43 +02:00
printinvoice.pl Bug 33478: Apply formatting to ACCOUNT_DEBIT 2024-04-26 20:15:43 +02:00
printnotice.pl Bug 33478: Apply formatting to ACCOUNTS_SUMMARY 2024-04-26 20:15:45 +02:00
printslip.pl Bug 33478: Apply formatting to ISSUESLIP, ISSUEQSLIP, CHECKINSLIP 2024-04-26 20:15:41 +02:00
purchase-suggestions.pl
readingrec.pl
recallshistory.pl
routing-lists.pl
setstatus.pl
statistics.pl
summary-print.pl
two_factor_auth.pl
update-child.pl