Bug 14094: DDC - Add separators for repeated $a subfields (MARC21)
commit6d9d66e32afaef73cbf2a33ce58d49f373e99dd8
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Mon, 8 Jun 2015 02:46:05 +0000 (8 04:46 +0200)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Mon, 22 Jun 2015 14:48:18 +0000 (22 11:48 -0300)
tree66cd77e27f8cb6729c8107f5ef2cb35eb3df9a2f
parentda8ec2d37a43c87ad5b087511dd8e4ce082f022f
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>
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slim2intranetDetail.xsl
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl