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

--- Comment #2 from CJ Lynce <[email protected]> ---
Created attachment 184502
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=184502&action=edit
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>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to