[Koha-bugs] [Bug 28633] Add a preferred_name field and an effective_name method to patrons

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 30 14:55:50 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28633

--- Comment #12 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 125499
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125499&action=edit
Bug 28633: Add preferred name field to patrons

This patch adds a new field 'preferredname' to the patron record.

Additionally it adds a method 'effective_name' to choose the preferred name if
present
and fall back to firstname

To test:
1 - Apply patches
2 - Update database and restart all, clear browser cache
3 - Load a patron in staff module
4 - Confirm you see and can add a preferred name
5 - Confirm the preferred name now displays on patron details
6 - Edit sysprefs BorrowerMandatoryFields and BorrowerUnwantedFields to confirm
you can make
    new field required or hidden
7 - Sign in as patron to opac
8 - Confirm preferred name shows
9 - Edit account on opac and confirm field is present

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list