Bug 14094: DDC - Add separators for repeated $a subfields (MARC21)
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Mon, 8 Jun 2015 02:46:05 +0000 (04:46 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Thu, 9 Jul 2015 21:04:08 +0000 (09:04 +1200)
commitefe1eb9aca303605bea999198876e6a786d1d5f2
tree58c18244ef59dd6f65fbe4213f6db2d69150978e
parent8dd172cde0bc9da6f1267250f829e7eb10601d68
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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
(cherry picked from commit 6d9d66e32afaef73cbf2a33ce58d49f373e99dd8)
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl