[Koha-bugs] [Bug 18110] Adds FR to the syspref AddressFormat

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 24 16:45:01 CET 2017


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

--- Comment #10 from Marc Véron <veron at veron.ch> ---
Yes, I applied the patch.

I think it is in member-display-address-style-fr.inc:

The patch is as follows:
(...)
    [% IF ( address ) %]
        [% SET roadtype_desc = '' %]
        [% IF streettype %]
            [% SET roadtype_desc = AuthorisedValues.GetByCode('ROADTYPE',
streettype) %]
        [% END %]
        [% IF streetnumber %] [% streetnumber %][% END %]
        [%IF roadtype_desc %] [% roadtype_desc %][% END %]
        <li class="patronaddress1">[% address %]
       </li>
    [% END %]
(...)

If I change it to the following, the address displays OK:

(...)

    [% IF ( address ) %]
        [% SET roadtype_desc = '' %]
        [% IF streettype %]
            [% SET roadtype_desc = AuthorisedValues.GetByCode('ROADTYPE',
streettype) %]
        [% END %]

        <li class="patronaddress1">
            [% IF streetnumber %] [% streetnumber %][% END %]
            [%IF roadtype_desc %] [% roadtype_desc %][% END %]
            [% address %]
       </li>
    [% END %]


(...)

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


More information about the Koha-bugs mailing list