https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29173 --- Comment #9 from marion.durand@biblibre.com --- (In reply to Katrin Fischer from comment #8)
Hi Marion,
I believe this will work nicely for MARC21, but not work for UNIMARC as the fields are quite different.
Why in MARC21 100 is a person's name, in UNIMARC it seems to be used quite differently:
https://www.ifla.org/g/unimarc-rg/unimarc-authorities-3rd-edition-with- updates/ 100 – General Processing Data (update 2018)
So I think we need at least a check on the marcflavor, but it would be even nicer if we could pick out the right fields for UNIMARC as well.
Also I wonder if we could avoid querying the record twice, but someone else might be better suited to comment on that:
my $record = GetAuthority($authid); my $authobj = Koha::Authorities->find($authid);
Hi Katrin, Thank you for looking at this bug. I must point out that I did nothing on this bug (exept filing it). Thibaud is the one who wrote the patch :) -- You are receiving this mail because: You are watching all bug changes.