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

--- Comment #16 from Katrin Fischer <[email protected]> ---
I've looked at the code and it seems we never use Koha.Preference with an |
html filter. There are also other occurrence in the code close to this one,
where it doesn't seem to have complained.

                                        [% IF ! open_on_row_click %]
                                        r += "<a
href=\"/cgi-bin/koha/members/moremember.pl?borrowernumber=" + patron_id + "\"
class=\"patron_name\" data-borrowernumber=\"" + patron_id + "\"
style=\"white-space:nowrap\">"
                                            + $patron_to_html(row, {
invert_name: 1, showDiffFirstname: [%
Koha.Preference('ShowPatronFirstnameIfDifferentThanPreferredname') ? 1 : 0 |
html %] }) + "</a>";
                                        [% ELSE %]
                                        r += $patron_to_html(row, {
invert_name: 1, showDiffFirstname: [%
Koha.Preference('ShowPatronFirstnameIfDifferentThanPreferredname') ? 1 : 0 |
html %] });

Patch works, nice little addition- sending this one a level higher up.

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