Koha/members
Nick Clemens bdf224c653
Bug 37562: Add patron title to duplicate patron warning and don't show popup if cannot see patron
This patch passes the suspected duplicate to the template and uses patron title to display very brief info.
If the user cannot view the patron there is no longer a link tot he brief popup and they will only see
'A patron from library X"

There is a FIXME asking if we should use search_limited - I believe we should check all branches, so the staff can ask the patron if they
have an exising account in a consortium depending on rules about multiple cards

To test:
 1 - Edit a user to grant catalogue and all borrower permissions except 'view_borrower_infos_from_any_libraries'
 2 - Find a patron from a different library and note surname and firstname
 3 - Login as the patron above
 4 - Enter a new patron with the same surname and firstname
 5 - See the 'Duplicate patron' warning
 6 - Click to view the patron
 7 - No info is listed
 8 - Apply patch
 9 - Reload and resubmit - or fill out form again
10 - Note that you see 'A patron from library XXX' and no popup link
11 - Add view_borrower_infos_from_any_libraries to the staff
12 - Repeat the duplication and confirm the warning now has patron name and the popup link is visible and works

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-08-16 17:33:50 +02:00
..
accountline-details.pl
alert-subscriptions.pl Bug 34478: Manual fix - add cud- op - alert-subscriptions.pl 2024-03-01 10:59:46 +01:00
apikeys.pl Bug 34478: op =~ ^cud- in pl/pm 2024-03-01 10:56:11 +01:00
boraccount.pl Bug 36190: Fix problems found by test 2024-03-15 09:38:54 +01:00
cancel-charge.pl
default_messageprefs.pl
deletemem.pl Bug 34478: (follow-up) Remove check_csrf from pl files 2024-03-01 10:58:41 +01:00
discharge.pl Bug 34478: Manual fix - add op - members/discharge 2024-03-01 10:57:27 +01:00
discharges.pl
files.pl Bug 34478: op =~ ^cud- in pl/pm 2024-03-01 10:56:11 +01:00
holdshistory.pl
housebound.pl Bug 34478: Fix various parameters on housebound details page 2024-03-01 10:59:37 +01:00
ill-requests.pl Bug 35581: Koha::Illrequest -> Koha::ILL::Request 2024-04-22 08:57:45 +02:00
mancredit.pl Bug 34478: Manual fix - add op - members/mancredit 2024-03-01 10:57:30 +01:00
maninvoice.pl Bug 34478: Manual fix - add op - members/maninvoice 2024-03-01 10:57:31 +01:00
member-flags.pl Bug 34478: Changes for members/member-flags 2024-03-01 10:57:46 +01:00
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 37562: Add patron title to duplicate patron warning and don't show popup if cannot see patron 2024-08-16 17:33:50 +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 Bug 34478: Add missing op - members-update 2024-03-01 10:57:04 +01:00
members-update.pl
merge-patrons.pl Bug 34478: Manual fix - Rename action with op change to post - merge-patrons 2024-03-01 10:56:40 +01:00
mod_debarment.pl Bug 34478: Rename action with op - mod_debarment 2024-03-01 10:57:03 +01:00
moremember.pl Bug 28924: (QA follow-up) Use $self instead of $patron 2024-07-18 18:25:55 +02:00
notices.pl Bug 35279: Add fallback to print for 'Send welcome email' 2024-03-22 15:47:36 +01:00
patronimage.pl
pay.pl Bug 34478: Add notes to pay.pl 2024-03-01 10:59:31 +01:00
paycollect.pl Bug 34478: Add cud-pay and cud-writeoff to paycollect 2024-03-01 10:59:30 +01:00
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 Bug 33363: Add separate permissions for creating and deleting suggestions 2024-07-12 10:21:24 +02:00
readingrec.pl
recallshistory.pl
routing-lists.pl
setstatus.pl
statistics.pl
summary-print.pl Bug 36476: Add holds priority column to members/summary-print.pl pending holds table 2024-06-21 15:02:57 +02:00
two_factor_auth.pl Bug 34478: op =~ ^cud- in pl/pm - Manual cud-email => email 2024-03-01 10:57:14 +01:00
update-child.pl Bug 34478: op =~ ^cud- in pl/pm 2024-03-01 10:56:11 +01:00