[Koha-devel] MARC frameworks in Koha

Katrin katrin.fischer.83 at web.de
Thu Aug 10 11:44:43 CEST 2017


I can't think of something better for now, thx for finding out and 
explaining!


On 10.08.2017 10:33, Marcel de Rooy wrote:
>
> > Christopher got me thinking: For 260 and 264 are repeatable, as a side 
> effect of cataloguing rule changes, they might even appear both in a 
> record (even if they shouldn't). Which year will be given priority? 
> For display purposes in the brief views, only one year should be 
> displayed.
>
> TransformMarcToKoha already picks the first year from copyrightdate; 
> this is not changed. In the new code it will handle fields sorted by 
> tag. So 260 will be handled before 264. Within the same tag, it will 
> handle fields based on their order in the MARC record itself. With 
> 1950 in field 260 and 1960 in field 264, a string results like ‘1950 | 
> 1960’. In case of copyrightdate the current logic of picking the first 
> year (from 260 in this example) will be applied. So returning 1950. I 
> assume that the example of a 260 and a 264 is rare, but I can imagine 
> that there are multiple 264s in a RDA record. In that case it depends 
> on the order of the 264s in the MARC.
>
>
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20170810/10688dca/attachment.html>


More information about the Koha-devel mailing list