Bug 14094

Summary: DDC - Add separators for repeated $a subfields (MARC21)
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: OPACAssignee: Katrin Fischer <katrin.fischer>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: chris, tomascohen
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 14094: DDC - Add separators for repeated $a subfields (MARC21)
[SIGNED OFF] Bug 14094: DDC - Add separators for repeated $a subfields (MARC21)
Bug 14094: DDC - Add separators for repeated $a subfields (MARC21)

Description Katrin Fischer 2015-04-29 22:13:09 UTC
The DDC classification shows the entries separated by space. We should use | to make them better readable.
Comment 1 Katrin Fischer 2015-06-08 02:49:42 UTC Comment hidden (obsolete)
Comment 2 Nick Clemens (kidclamp) 2015-06-12 21:48:42 UTC Comment hidden (obsolete)
Comment 3 Jonathan Druart 2015-06-19 13:45:32 UTC
Created attachment 40376 [details] [review]
Bug 14094: DDC - Add separators for repeated $a subfields (MARC21)

Mulitple 082 fields are already separated by |, but multiple
$a in one 082 field were only separated by space, making those
not easy to read.

Patch takes care that the | separator is used in all cases.

To test:
- Catalog a record with multiple 082 fields
- Add one or multiple $a subfields to each
- Verify every single classification is separated from
  the others with a | in staff and in OPAC detail pages

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Comment 4 Tomás Cohen Arazi (tcohen) 2015-06-22 14:55:17 UTC
Patch pushed to master.

Thanks Katrina!
Comment 5 Chris Cormack 2015-07-09 21:04:37 UTC
Pushed to 3.20.x will be in 3.20.2