Bug 9831: Correct and add authorised values un French UNIMARC installer
authorMathieu Saby <mathieu.saby@univ-rennes2.fr>
Sun, 17 Mar 2013 18:11:29 +0000 (19:11 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Fri, 26 Apr 2013 02:13:33 +0000 (22:13 -0400)
commit74a458b85335d70d1068b9f1491df52e92ac5d66
tree4bb65c6424a831e83509dbac05c6374f5c45552b
parent3054241585e614c9423210ea4fad8d5bf1f0c897
Bug 9831: Correct and add authorised values un French UNIMARC installer

2d version, Correcting a typo

In French UNIMARC mandatory installer, some authorised values for languages, countries and unimarc function codes are wrong.
A lot of unimarc function codes and language codes are missing.
Reference for country codes is ISO 3166-1 standard
Reference for language codes is ISO 632-2 standard
Reference for Unimarc function codes are Unimarc Manual (french version online in BNF website and ABES website)

This patch correct wrong values and add new ones.
For the moment I keep some wrong codes, because they may be used by some librairies :
- language codes deu, lan, mla, sam
- function codes 571, 573, 574, 575

To test :
1) take a fresh new koha
2) apply patch
3) install Koha, choosing French UNIMARC settings
4) look if values are OK in authorised values and if you can use them in cataloguing module

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
SQL change only, French installer installs authorised values
without problems.

Note: There is a problem loading sample labels unrelated to this
patch:

sample_labels.sql
ERROR 1146 (42S02) at line 3: Table 'koha.labels_templates' doesn't exist
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
(cherry picked from commit 5959154bc140a60164dd8652dd4285e2ec51f5d3)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
installer/data/mysql/fr-FR/1-Obligatoire/authorised_values.sql