https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37325
Alexander Wagner <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #174325|0 |1 is obsolete| | Attachment #174326|0 |1 is obsolete| | Attachment #174467|0 |1 is obsolete| | Attachment #174468|0 |1 is obsolete| | --- Comment #8 from Alexander Wagner <[email protected]> --- Created attachment 174470 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174470&action=edit Bug 37325: Add punctuation for 260 and 264 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 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. 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 6. Edit the record (A) 7. Check that the Marc leader position 18 is _not_ set to `c` or `n` 8. Set Marc leader 18 to `c` or `n` (`c`: ISBD punctuation omitted / `n` Non-ISBD punctuation omitted) 9. Save the record 10. Check that all punctuation chars appear twice in intranet as well as OPAC interface 11. Check record (B) in intranet and OPAC interface. It should now show automatically added, proper punctuation. For field 264: follow the procedure just outlined but use field 264 instead. If 264 is present, Koha will prefer it over 260. 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/
