]> git.koha-community.org Git - koha.git/commit
Bug 37969: Add missing language code nor
authorLari Taskula <lari.taskula@hypernova.fi>
Thu, 19 Sep 2024 21:07:04 +0000 (21:07 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Thu, 24 Oct 2024 14:56:00 +0000 (16:56 +0200)
commit7541264979f015d63d5093faad1704b0f4827063
tree72334491ed6939ddffae8ed38c829e31181e87f6
parent209d797936ce0ecc4223e38f89b23f4962e5d681
Bug 37969: Add missing language code nor

Signed-off-by: Magnus Enger <magnus@libriotech.no>
Test plan:
- Start KTD with Elastic: ktd --es7 up
- Edit a record, e.g. "Dom Casmurro : a novel" and change the language
  code in 008/35-37 from "eng" to "nor":
  Before: 980914s1997    nyu           00011 eng b
  After:  980914s1997    nyu           00011 nor b
- Do a search that finds the edited record and some other records,
  so you can see the list of resulots and the facets, e.g. "dom"
- Verify that "nor" is shown in the languages facet
- Apply this patch and run koha-upgrade-schema kohadev
- Do the search again and verify that "Norwegian" is now shown instead
  of "nor"

Signed-off-by: Thomas Klausner <domm@plix.at>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
installer/data/mysql/atomicupdate/bug_37969_add_missing_language_code_nor.pl [new file with mode: 0755]
installer/data/mysql/mandatory/subtag_registry.sql