if (
!jsonBoolIsTrue( jsonObjectGetKey( selfield, "aggregate" ) ) ||
- ((int)jsonObjectGetNumber(jsonObjectGetKey( selfield, "aggregate" ))) == 1 // support 1/0 for perl's sake
+ ((int)jsonObjectGetNumber(jsonObjectGetKey( selfield, "aggregate" ))) == 0 // support 1/0 for perl's sake
) {
if (gfirst) {
gfirst = 0;
char* i18n = osrfHashGet(field, "i18n");
if (
!jsonBoolIsTrue( jsonObjectGetKey( order_hash, "no_i18n" ) ) ||
- ((int)jsonObjectGetNumber(jsonObjectGetKey( order_hash, "no_i18n" ))) == 1 // support 1/0 for perl's sake
+ ((int)jsonObjectGetNumber(jsonObjectGetKey( order_hash, "no_i18n" ))) == 0 // support 1/0 for perl's sake
) i18n = NULL;
if ( i18n && !strncasecmp("true", i18n, 4)) {