[Koha-bugs] [Bug 19616] Add MARC21 505$g (Formatted Contents Note)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 14 01:38:06 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19616

--- Comment #7 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 110029
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=110029&action=edit
Bug 19616: (follow-up) Breaking items according to punctuation

Previously the code assumed that $t indicates a new line in the
listing. But this is not true. The standard tells us that -- or
.-- will indicate a new item.

"In records formulated according to AACR 2, a space-hyphen-hyphen-space
( -- ) is recorded between each item in the contents note unless a
delimiter/subfield code follows in which case there is no ending space.
In pre-AACR 2 records, items are separated by a period-hyphen-hyphen (.--)."

The previous logic did no longer work with $g added. From the LOC
examples:

This would work:
505 2 0 $tBaptisms, 1816-1872 --$tChurch members, 1816-1831 --$tHistory of the
Second Presbyterian Church of West Durham /$rby L. H. Fellows.
505 0 0 $tQuatrain II$g(16:35) --$tWater ways$g(1:57) --$tWaves$g(10:49).

This wouldn't:
505 1 0 $gNr. 1.$tRegion Neusiedlersee --$gNr. 2.$tRegion Rosalia/Lithagebirge
--$gNr. 3.$tRegion Mettelburgenland --$gNr. 4.$tRegion südliches Burgenland
--$gNr. 5.$tRegion Südburgland

With the patches applied, all examples should display nicely now.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list