]> git.koha-community.org Git - koha.git/commit
Bug 23783: Show languages from MARC21 field 041 in OPAC
authorKatrin Fischer <katrin.fischer.83@web.de>
Sat, 2 Nov 2019 00:19:33 +0000 (00:19 +0000)
committerJoy Nelson <joy@bywatersolutions.com>
Sun, 12 Jan 2020 21:02:20 +0000 (21:02 +0000)
commit6bec75ac565ff1f4b87a2fefb0207dcc9248fec2
tree748c04a62bb0f89c48970b9dd8404c24a582f751
parenteb95d427b456bed253b805c99e30b6b4483022ba
Bug 23783: Show languages from MARC21 field 041 in OPAC

This copies the changes made in bug 20364 for the staff
interface to the OPAC.

Some slight changes have been made in comparison:
- OPAC uses the class "separator" for the characters
  that are used between repeatable tags. "sep" as
  used in the original patch set has some CSS rules
  attached to it that break display, so it makes
  double sense to change it.
- We revently removed ending . from the display in
  OPAC - so it's done here too.

To test:
1) Apply patch
2) Do a search in the OPAC and check the results look correct
3) Check some biblio detail pages and verify that they look correct
4) Add some 041 subfields (a, b, d, h, j) in any combinations
5) Repeat 2 and 3

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21Languages.xsl [new file with mode: 0644]
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl