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

--- Comment #30 from Nick Clemens (kidclamp) <[email protected]> ---
Created attachment 188812
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=188812&action=edit
Bug 40245: Show firstname in patron search results when different than
preferred_name

This patch shows the patron's firstname in patron search results and
autosuggestions
        when the patrons preferred_name is different than their first name.
Requires that
        the ShowPatronFirstnameIfDifferentThanPreferredname system preference
is enabled.

Test plan:
0. Apply patches and login to the staff interface.
1. Edit a patron to give a different preferred name than firstname.
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: Andrew Fuerste Henry <[email protected]>
Signed-off-by: Nick Clemens <[email protected]>

-- 
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