[Koha] Add separator from fields 245a and 245c

Katrin Fischer katrin.fischer.83 at web.de
Sat Jul 10 22:21:03 NZST 2021


Hi Javier,

usually the punctuation is added to the data in MARC21. At the moment
there is no feature in Koha to assist in adding those while cataloguing
or adding them to the displays.

What you could do is make a copy of the default XSLT files that are used
to generate the display in the detail view and result lists and modify
them in order to generate separators. The new XSLT files can be
activated using the XSLT system preferences.

There is a XSLT library in the wiki that shows some examples of
modifications people have made:

https://wiki.koha-community.org/wiki/XSLT_Library

Hope this helps,

Katrin

On 29.06.21 18:11, Javi Legido wrote:
> Hi there.
>
> We have below XML:
>
>    <datafield tag="245" ind1=" " ind2=" ">
>      <subfield code="a">Gesti&#xF3;n empresarial. El caso de dieciocho
> cooperativas</subfield>
>      <subfield code="b"></subfield>
>      <subfield code="c">Consultores Asociados (Coord.)</subfield>
>    </datafield>
>
> Which leads to below string both in admin and OPAC:
>
> GestiĆ³n empresarial. El caso de dieciocho cooperativas Consultores
> Asociados (Coord.)
>
> Question: how to add a string (let's say " | ") between fiedls 245a and
> 245c?
>
> Thanks.
>
> Javier
> _______________________________________________
>
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list