https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37325
--- Comment #4 from Alexander Wagner <[email protected]> --- Created attachment 174325 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174325&action=edit Bug 37325: Add punctuation for 260 Add punctuation automatically for tag 260 (Imprint), if the record leader defines that punctuation is _omitted_ from the fields. The filter does not act on records that hold punctuation and say so in leader 18. - Hook up `Puncutation.pm` with `XSLT.pm` - Add rules for automatic punctuation of Marc21 field 260 according to https://www.loc.gov/aba/pcc/documents/isbdmarc2016.pdf - Subfields handled: a, b, c, f, g, r, t, q Test plan: 1. Select a record (A) with a properly filled and punctuated 260 field 2. Check that the punctuation display correctly in intranet and OPAC interface 3. Select a record (B) without punctuation OR remove the punctuation from the subfields of field 260. Check that leader 18 is set to `c` or `n`, IOW that this is a semantically correct record. 4. Check that _no_ punctuation chars get displayed in OPAC or intranet 5. Apply the patch 3. Edit the record (A) 4. Check that the Marc leader position 18 is _not_ set to `c` or `n` 5. Set Marc leader 18 to `c` or `n` (`c`: ISBD punctuation omitted / `n` Non-ISBD punctuation omitted) 4. Save the record 5. Check that all punctuation chars appear twice in intranet as well as OPAC interface 6. Check record (B) in intranet and OPAC interface. It should now show automatically added, proper punctuation. Note: there may be complex cases where it is not possible to properly add punctuation automatically from the subfield semantics alone. In these cases it is still possible to add punctuation to the record and specify this in leader 18. Then the filter will not change the record at all. Sponsored-by: Deutsches Elektronen-Synchrotron DESY, Library -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
