Summary: | Support option to display firstname in memberresultst | ||
---|---|---|---|
Product: | Koha | Reporter: | Chip Halvorsen <Chip.Halvorsen> |
Component: | Patrons | Assignee: | CJ Lynce <cj.lynce> |
Status: | Signed Off --- | QA Contact: | Testopia <testopia> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | Chip.Halvorsen, cj.lynce, clackman, emily.lamancusa, gmcharlt, kyle |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | Sponsored | |
Patch complexity: | Small patch | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: | ||
Attachments: |
Bug 40245: Add new system preference ShowFirstIfDifferentThanPreferred
Bug 40245: Show firstname in patron search results when different than preferred_name Bug 40245: Show firstname in patron search results when different than preferred_name Bug 40245: Add new system preference ShowFirstIfDifferentThanPreferred Bug 40245: Show firstname in patron search results when different than preferred_name |
Description
Chip Halvorsen
2025-06-25 18:20:06 UTC
Created attachment 184501 [details] [review] Bug 40245: Add new system preference ShowFirstIfDifferentThanPreferred Adds a new system preference ShowFirstIfDifferentThanPreferred to allow a patron's firstname to be shown in search results when different than their preferred name. Created attachment 184502 [details] [review] Bug 40245: Show firstname in patron search results when different than preferred_name This patch shows the patron's firstname in search results and autosuggestions when thier preferred_name is different than their first name. Requires that sysprep ShowFirstIfDifferentThanPreferred is enabled. When disabled, only the preferred name shows in results. Test plan: 0. Apply patches and login to the staff interface. 1. Edit a patron to give a different preferred name than first. 2. Return to home page and search for the patron in the quick-search bar. 3. Verify patron shows up in autosuggest list, showing preferred name only. 4. Verify patron shows up in regular list (member.pl) with preferred name showing only. 5. Change syspref ShowFirstIfDifferentThanPreferred to "Show" and save. 6. Return to home page and search for the patron in the quick-search bar. 7. Verify patron shows up in autosuggest list, showing preferred name, and firstname in brackets. 8. Verify patron shows up in regular list (member.pl) with preferred name, and firstname in brackets. Sponsored-by: Westlake Porter Public Library <https://westlakelibrary.org> *** Bug 40484 has been marked as a duplicate of this bug. *** Created attachment 184637 [details] [review] Bug 40245: Show firstname in patron search results when different than preferred_name This patch shows the patron's firstname in search results and autosuggestions when thier preferred_name is different than their first name. Requires that sysprep ShowFirstIfDifferentThanPreferred is enabled. When disabled, only the preferred name shows in results. Test plan: 0. Apply patches and login to the staff interface. 1. Edit a patron to give a different preferred name than first. 2. Return to home page and search for the patron in the quick-search bar. 3. Verify patron shows up in autosuggest list, showing preferred name only. 4. Verify patron shows up in regular list (member.pl) with preferred name showing only. 5. Change syspref ShowFirstIfDifferentThanPreferred to "Show" and save. 6. Return to home page and search for the patron in the quick-search bar. 7. Verify patron shows up in autosuggest list, showing preferred name, and firstname in brackets. 8. Verify patron shows up in regular list (member.pl) with preferred name, and firstname in brackets. Sponsored-by: Westlake Porter Public Library <https://westlakelibrary.org> Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> Created attachment 184638 [details] [review] Bug 40245: Add new system preference ShowFirstIfDifferentThanPreferred Adds a new system preference ShowFirstIfDifferentThanPreferred to allow a patron's firstname to be shown in search results when different than their preferred name. Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> Created attachment 184639 [details] [review] Bug 40245: Show firstname in patron search results when different than preferred_name This patch shows the patron's firstname in search results and autosuggestions when thier preferred_name is different than their first name. Requires that sysprep ShowFirstIfDifferentThanPreferred is enabled. When disabled, only the preferred name shows in results. Test plan: 0. Apply patches and login to the staff interface. 1. Edit a patron to give a different preferred name than first. 2. Return to home page and search for the patron in the quick-search bar. 3. Verify patron shows up in autosuggest list, showing preferred name only. 4. Verify patron shows up in regular list (member.pl) with preferred name showing only. 5. Change syspref ShowFirstIfDifferentThanPreferred to "Show" and save. 6. Return to home page and search for the patron in the quick-search bar. 7. Verify patron shows up in autosuggest list, showing preferred name, and firstname in brackets. 8. Verify patron shows up in regular list (member.pl) with preferred name, and firstname in brackets. Sponsored-by: Westlake Porter Public Library <https://westlakelibrary.org> Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov> Thanks, CJ! This looks nice and works as advertised! Testing notes: - After applying patch, run updatedatabase and clear browser cache |