Bug 35701: Do not use t
To not interfer with the t from I18N On bug 35329 we are using the I18N TT plugin that is providing the 't' subroutine. This loop is redefining the subroutine, therefore it is not longer accessible. Test plan: Edit a patron and confirm the the "Title" dropdown still contain the different values of syspref BorrowersTitles. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> (cherry picked from commit50904b219e) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commit66bf6e5e0e) Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
98fcce052e
commit
0959db5147
|
|
@ -273,11 +273,11 @@ legend:hover {
|
|||
Salutation: </label>
|
||||
<select id="btitle" name="title">
|
||||
<option value=""></option>
|
||||
[% FOREACH t IN Koha.Preference('BorrowersTitles').split('\|') %]
|
||||
[% IF btitle == t %]
|
||||
<option value="[% t | html %]" selected="selected">[% t | html %]</option>
|
||||
[% FOREACH patron_title IN Koha.Preference('BorrowersTitles').split('\|') %]
|
||||
[% IF btitle == patron_title %]
|
||||
<option value="[% patron_title | html %]" selected="selected">[% patron_title | html %]</option>
|
||||
[% ELSE %]
|
||||
<option value="[% t | html %]">[% t | html %]</option>
|
||||
<option value="[% patron_title | html %]">[% t | html %]</option>
|
||||
[% END %]
|
||||
[% END %]
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Reference in New Issue