[open-ils-commits] r8021 - trunk/Open-ILS/src/c-apps
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Nov 5 23:17:04 EST 2007
Author: miker
Date: 2007-11-05 23:01:34 -0500 (Mon, 05 Nov 2007)
New Revision: 8021
Modified:
trunk/Open-ILS/src/c-apps/oils_cstore.c
Log:
debugging ability to turn off i18n
Modified: trunk/Open-ILS/src/c-apps/oils_cstore.c
===================================================================
--- trunk/Open-ILS/src/c-apps/oils_cstore.c 2007-11-06 03:56:49 UTC (rev 8020)
+++ trunk/Open-ILS/src/c-apps/oils_cstore.c 2007-11-06 04:01:34 UTC (rev 8021)
@@ -1746,6 +1746,8 @@
if (locale) {
char* i18n = osrfHashGet(field, "i18n");
+ if (flags & DISABLE_I18N)
+ i18n = NULL;
if ( i18n && !strncasecmp("true", i18n, 4)) {
char* pkey = osrfHashGet(idlClass, "primarykey");
@@ -1788,7 +1790,7 @@
} else {
if (locale) {
char* i18n = osrfHashGet(field, "i18n");
- if (flags & SELECT_DISTINCT)
+ if (flags & DISABLE_I18N)
i18n = NULL;
if ( i18n && !strncasecmp("true", i18n, 4)) {
More information about the open-ils-commits
mailing list