Bug 8347 - Koha forces UNIMARC 100 field code language to 'fre'
authorVitor FERNANDES <vfernandes@keep.pt>
Thu, 29 Nov 2012 11:02:16 +0000 (11:02 +0000)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 20 Feb 2013 14:06:09 +0000 (09:06 -0500)
commit16a395c3b7163a8028f199176b7bfe92f53042fe
tree5dba6fdea84f25d3aab830d7b4e76070400455f3
parent3b3a54e147bc07e7cb37e7430e3d10f3486db120
Bug 8347 - Koha forces UNIMARC 100 field code language to 'fre'

Added a new system preference to set the UNIMARC field 100 default language.
The default value for that system preference is 'fre'.
Changed Biblio.pm to use the system preference:

- if the language is bad filled in the preferences it uses 'fre' as default value
- only replaces the language when the field 100 is empty
- if the language is filled with the plugin only replaces the positions 25-28 to 'y50'

Signed-off-by: Rolando Isodoro <rolando.isidoro@gmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
C4/Biblio.pm
cataloguing/value_builder/unimarc_field_100.pl
installer/data/mysql/sysprefs.sql
installer/data/mysql/updatedatabase.pl