[open-ils-commits] r10377 - trunk/Open-ILS/src/sql/Pg
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Aug 20 00:45:08 EDT 2008
Author: miker
Date: 2008-08-20 00:45:04 -0400 (Wed, 20 Aug 2008)
New Revision: 10377
Modified:
trunk/Open-ILS/src/sql/Pg/002.functions.config.sql
Log:
rolling back recent change ... miscommunication on how i18n_core is used
Modified: trunk/Open-ILS/src/sql/Pg/002.functions.config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/002.functions.config.sql 2008-08-20 04:27:53 UTC (rev 10376)
+++ trunk/Open-ILS/src/sql/Pg/002.functions.config.sql 2008-08-20 04:45:04 UTC (rev 10377)
@@ -78,7 +78,7 @@
-- Try the full locale
SELECT * INTO result
FROM config.i18n_core
- WHERE (fq_field = keyfield OR fq_field = keytable)
+ WHERE fq_field = keyfield
AND identity_value = keyvalue
AND translation = locale;
@@ -86,7 +86,7 @@
IF NOT FOUND THEN
SELECT * INTO result
FROM config.i18n_core
- WHERE (fq_field = keyfield OR fq_field = keytable)
+ WHERE fq_field = keyfield
AND identity_value = keyvalue
AND translation = language;
END IF;
More information about the open-ils-commits
mailing list