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

Martin Renvoize (ashimema) <martin.renvo...@openfifth.co.uk> changed:

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

--- Comment #5 from Martin Renvoize (ashimema) 
<martin.renvo...@openfifth.co.uk> ---
Created attachment 182281
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182281&action=edit
Bug 39576: Show preferred_name for hiddenborrowername

The last patron menu uses the value "hiddenborrowername." I've made that use
preferred_name instead of firstname. When a patron's preferred_name is not
manually set/edited, it automatically takes the value of firstname, so we don't
need an IF in the template toolkit here.

To test:
1 - have a patron with a preferred_name and one without
2 - get both patrons in the Last Patron dropdown, confirm they both show
firstname
3 - apply patch, restart services, clear cache, reload page
4 - get your patrons in Last Patron again, confirm now one shows preferred name
and the other firstname

Signed-off-by: Emmanuel Bétemps <e.bete...@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvo...@openfifth.co.uk>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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