Nick Clemens
bdf224c653
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> |
||
---|---|---|
.. | ||
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 | ||
member.pl | ||
memberentry.pl | ||
members-home.pl | ||
members-update-do.pl | ||
members-update.pl | ||
merge-patrons.pl | ||
mod_debarment.pl | ||
moremember.pl | ||
notices.pl | ||
patronimage.pl | ||
pay.pl | ||
paycollect.pl | ||
print_overdues.pl | ||
printfeercpt.pl | ||
printinvoice.pl | ||
printnotice.pl | ||
printslip.pl | ||
purchase-suggestions.pl | ||
readingrec.pl | ||
recallshistory.pl | ||
routing-lists.pl | ||
setstatus.pl | ||
statistics.pl | ||
summary-print.pl | ||
two_factor_auth.pl | ||
update-child.pl |