Bug 20364 implemented showing the language from MARC21 041 in the staff interface, but it's not yet visible in the OPAC. We offer search by language, so it makes sense to also show the language in the detail pages.
Created attachment 94965 [details] [review] 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
Created attachment 95931 [details] [review] 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> Work as described, no errors.
Created attachment 96039 [details] [review] 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> Work as described, no errors. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Thanks Joubu and Bernardo!
Nice work everyone! Pushed to master for 20.05
backported to 19.11.x for 19.11.02
missing dependencies for 19.05.x, no backport