[Koha-bugs] [Bug 16847] Remove C4::Members::GetTitles

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 4 16:21:38 CEST 2016


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

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 53086
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53086&action=edit
Bug 16847: Remove C4::Members::GetTitles

This subroutine just reads the content of a pref, split it, add an
empty string and returns.
It is not really useful and the code in the script (memberentry.pl) uses
the only occurrence of CGI::popup_menu
Let's remove it and build the dropdown list in the template.

Test plan:
1/ Empty BorrowersTitles, edit a patron and confirm that the "Salutation"
does not appear
2/ Fill BorrowersTitles with "Mr|Mrs|Miss|Ms", edit a patron and confirm
that the "Salutation" dropdown list is correctly filled.
The default option should be selected if you are editing a patron with a
title defined.
This should also be tested at the OPAC.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list