[Koha-patches] [PATCH] Correct iso639_2_code for Spanish is "spa" not "rus".

Joe Atzberger joe.atzberger at liblime.com
Mon Oct 13 18:46:14 CEST 2008


The result of this apparent copy/paste error is that adv. search
limits by Language=Spanish would return results for Russian!
---
 .../data/mysql/en/mandatory/subtag_registry.sql    |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/installer/data/mysql/en/mandatory/subtag_registry.sql b/installer/data/mysql/en/mandatory/subtag_registry.sql
index 8c0a9e9..6719e32 100644
--- a/installer/data/mysql/en/mandatory/subtag_registry.sql
+++ b/installer/data/mysql/en/mandatory/subtag_registry.sql
@@ -496,7 +496,7 @@ INSERT INTO language_subtag_registry( subtag, type, description, added)
 VALUES ( 'es', 'language', 'Spanish','2005-10-16' );
 
 INSERT INTO language_rfc4646_to_iso639(rfc4646_subtag,iso639_2_code)
-VALUES( 'es','rus');
+VALUES( 'es','spa');
 
 INSERT INTO language_descriptions(subtag, type, lang, description)
 VALUES( 'es', 'language', 'es', 'Español');
-- 
1.5.5.GIT




More information about the Koha-patches mailing list