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:25 +0000 (22:13 -0400)
commit5959154bc140a60164dd8652dd4285e2ec51f5d3
tree3a871bf14001261cb3436b37c46a1494e972741b
parentfe85af6929c0ad0ce9fdc7817a69286cb53f2a38
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>
installer/data/mysql/fr-FR/1-Obligatoire/authorised_values.sql