[Koha-bugs] [Bug 12747] Add extra column in Z3950 search result

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 13 20:45:56 CEST 2014


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

--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
This seems to work well, but I'm curious why there is no corresponding change
to cataloguing/z3950_search.pl?

I don't think it works very well to have the additional data displayed in a
table cell which doesn't allow text to wrap. If someone picked a subfield which
contains a lot of data that could completely blow up the layout.

Maybe an unordered list?

[% IF additionalFields %]
    <td>
        <ul>
            [% FOREACH addnumberfield IN breeding_loo.addnumberfields %]
                [% IF ( breeding_loo.$addnumberfield ) %]
                    <li><strong>[% addnumberfield %]:</strong>[%
breeding_loo.$addnumberfield %]</li>
                [% END %]
            [% END %]
        </ul>
    </td>
[% END %]

Or a definition list?

[% IF additionalFields %]
    <td>
        <dl>
           [% FOREACH addnumberfield IN breeding_loo.addnumberfields %]
               <dt>[% addnumberfield %]:</dt>
               <dd>[% breeding_loo.$addnumberfield %]</dd>
           [% END %]
        </dl>
    </td>
[% END %]

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


More information about the Koha-bugs mailing list