David Cook
855b8bc66e
This change displays a warning message instead of the patron image upload feature in the patron record when the patron is missing the cardnumber. Without this change, the staff user can try to upload a patron image but it will silently fail. This change warns the staff user of the cardnumber requirement for patron image upload. Test plan: 0. Apply the patch 1. Enable the "patronimages" system preference 2. Go to http://localhost:8081/cgi-bin/koha/members/moremember.pl?borrowernumber=51 3. Click "Add" over the patron image placeholder 4. Note the "Upload photo" button and the ability to take a patron photo if your device has a camera 5. Remove "cardnumber" from BorrowerMandatoryField 6. Go to http://localhost:8081/cgi-bin/koha/circ/circulation.pl?borrowernumber=51 7. Edit the patron to remove the cardnumber 8. Click "Add" over the patron image placeholder 9. Note that no patron image upload features appear. Instead, only a warning appears stating that the patron needs a cardnumber before the patron image upload can be performed Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> |
||
---|---|---|
.. | ||
modals | ||
pages | ||
vue | ||
acq.js | ||
acquisitions-menu.js | ||
additem.js | ||
addorderiso2709.js | ||
admin-menu.js | ||
ajax.js | ||
audio_alerts.js | ||
auth-finder-search.js | ||
authorities-detail-modal.js | ||
authtype.js | ||
automatic_item_modification_by_age.js | ||
basket.js | ||
biblio_framework.js | ||
browser.js | ||
calendar.js | ||
cancel_booking_modal.js | ||
cart.js | ||
cashup_modal.js | ||
catalog.js | ||
cataloging.js | ||
cataloging_additem.js | ||
categories.js | ||
charts.js | ||
checkout_renewals_modal.js | ||
checkouts.js | ||
cookieconsent.js | ||
datatables.js | ||
desk_selection.js | ||
elasticsearch-mappings.js | ||
file-upload.js | ||
funds_sorts.js | ||
holds.js | ||
ill-availability-partner.js | ||
ill-availability.js | ||
ill-batch-modal.js | ||
ill-batch-table.js | ||
ill-batch.js | ||
ill-list-table.js | ||
item_search_fields.js | ||
job_progress.js | ||
letter.js | ||
localcovers.js | ||
mana.js | ||
marc_modification_templates.js | ||
marc_subfields_structure.js | ||
members-menu.js | ||
members.js | ||
merge-record.js | ||
messaging-preference-form.js | ||
modal_printer.js | ||
onboarding.js | ||
patron-webcam.js | ||
place_booking_modal.js | ||
recalls.js | ||
register_selection.js | ||
resolve_claim_modal.js | ||
restrictiontypes.js | ||
rotating-collections.js | ||
select2.js | ||
serials-toolbar.js | ||
showpredictionpattern.js | ||
sms_providers.js | ||
staff-global.js | ||
subscription-add.js | ||
table_filters.js | ||
tools-menu.js | ||
upload-images.js | ||
viewlog.js | ||
xmlControlfield.js | ||
z3950_search.js |