[Koha] Adding a repeated subfield with a MARC modification template
Mathieu Saby
mathsabypro at gmail.com
Mon Jan 10 01:57:54 NZDT 2022
I tried to look at the code, and I believe this use case (abitily to create
a new occurrence of a subfield in a given field) is not currently taken
into account. So I will fill a ticket in Bugzilla
Regards,
Mathieu
Le mar. 4 janv. 2022 à 13:46, Mathieu Saby <mathsabypro at gmail.com> a écrit :
> Thank you Caroline
>
> That is what I tried at first ("Update existing or add new" + "Add new"),
> but the result was the creation of two fields :
> 099
>
> *_t*LIVRE
> 099
>
> *_t*CD
>
> Same thing with "Add new" + "Add new".
>
> So maybe Koha cannot add a new subfield in an existing field, but always
> create a new field ?
>
>
> Mathieu
>
>
> Le 03/01/2022 à 19:33, Caroline Cyr-La-Rose a écrit :
>
> Hello Mathieu,
>
> Since you use "Update existing or add new" in both rules, the first is
> overwritten by the second. I suggest you use simply "Add new". This will
> add the subfield without checking if it already exists first.
>
> Caroline
>
> On 2022-01-03 12 h 46, Mathieu Saby wrote:
>
> Hi
>
> I tried to add a repeated subfield with a MARC modification template, but
> I
> failed to achieve the wanted result (demo instance 20.11.02) . Could you
> please tell me if this operation is possible ?
>
>
> The subfield 099$t is repeatable in my framework
>
> What I expect is to create a 099$t and add two $t subfields :
>
> *099*
>
> *_tBOOK_t*CD
>
>
>
> But the result I obtain is
>
> *099 _t*CD
>
> (only the 2d occurence is added)
>
>
> I used these 2 rules :
>
> Update existing or add new field 099$t with value *BOOK*
>
> Update existing or add new field 099$t with value *CD*
>
>
>
>
> Regards,
>
> Caroline Cyr La Rose, M.S.I.
> Bibliothécaire | Responsable de produit
>
> Tél. : 1-833-465-4276, poste 221
> Caroline.Cyr-La-Rose at inLibro.com <mailto:caroline.cyr-la-rose at inLibro.com>
> <caroline.cyr-la-rose at inLibro.com>
>
> INLiBRO | Spécialistes en technologies documentaires | www.inLibro.com
> <http://www.inLibro.com> <http://www.inLibro.com>
> _______________________________________________
>
> Koha mailing list http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>
>
>
> ------------------------------
> [image: Avast logo] <https://www.avast.com/antivirus>
>
> L'absence de virus dans ce courrier électronique a été vérifiée par le
> logiciel antivirus Avast.
> www.avast.com <https://www.avast.com/antivirus>
>
> <#m_3169449419012205086_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
--
Mathieu Saby
More information about the Koha
mailing list