[librecat-dev] selection of multiple MARC fields

Christoph Krempe krempe at ub.fu-berlin.de
Mon Sep 4 13:29:27 CEST 2017


Hi all,

I have a MARC record with multiple categories 035 like

035	__ |a (DE-604)BV043353038
035	__ |a (DE-188-SEP)52383


I want to select the number after the brakets only if the value inside
the brakets is "DE-188-SEP":

if marc_match('035a/0-11','(DE-188-SEP)')
        marc_map('035a/12-30','sep-id')
end


This fix works if there is only one 035 field, it doesn't if there is
more than one field.

Any idea why there is no match for multiple 035 ?

Thanks!

-- 

Mit freundlichen Grüßen

Ch. Krempe

__________________________________________________

Christoph Krempe
Abt. Datenverarbeitung / Fachreferat Philosophie
Universitätsbibliothek der FU Berlin
Garystraße 39
D-14195 Berlin

Tel.: 030 83854583
Fax: 030 838454583

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.uni-bielefeld.de/mailman2/unibi/public/librecat-dev/attachments/20170904/51cc8c9d/attachment.asc>


More information about the librecat-dev mailing list