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

Nick Clemens <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #125500|0                           |1
        is obsolete|                            |

--- Comment #19 from Nick Clemens <[email protected]> ---
Created attachment 126591
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=126591&action=edit
Bug 28633: (follow-up) Show first name and add preferredname to searches

This patch adds to the DB update a condition to add 'preferredname' to
DefaultPatronSearchFields. It also adjust the koha defaults to include it
if the pref is empty

The 'firstname' is displayed as 'First name' on the details page, with id/class
patron_first_name to allow ajusting via JS/CSS if library wants to
highlight/hide
the non-preferred name

PatronAutoComplete/ysearch is updated to use 'effective_name' method

To test:
1 - Apply patches and updatedatabase and restart_all
2 - Add a preferredname to a patron
3 - Verify DefaultPatronSearchFields contains 'preferredname' if your pref had
firstname
    Add preferredname if not
4 - Perform checkout and patron search using preferredname, confirm patron is
found
5 - On patron's detail page confirm 'First name' shows
6 - Remove patron's first name, confirm 'First name' is no longer present
7 - Enable PatronAutoComplete system preference
8 - Type patron's surname into Checkout or patron search but don't hit enter
9 - Confirm patron is dsiplayed with 'preferredname' in the preview

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