[Koha-bugs] [Bug 6790] C4::Serials::getroutinglist returns unnecessary variable

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Aug 27 12:03:19 CEST 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6790

--- Comment #2 from Frère Sébastien Marie <semarie-koha at latrappe.fr> 2011-08-27 10:03:19 UTC ---
Your patch use an unsupported form of template style, that may cause problem in
translation processing.

In 'serials/routing.tt', you wrote:
<option[%- IF r == member.ranking -%] selected="selected"[% END %] value="[% r
%]">[% r %]</option>

The "IF" directive is *in* tag 'option': this kind of construction is
unsupported.
(but not problem when directive are in attribute, like 'r' with the 'value'
attribute).

Your should use instead of:
[% IF r == member.ranking %]
<option selected="selected" value="[% r %]">[% r %]</option>
[% ELSE %]
<option value="[% r %]">[% r %]</option>
[% END %]

For more detail about this problem, please see bug 6458.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list