Author: reinhard
Date: 2007-05-21 11:47:34 -0500 (Mon, 21 May 2007)
New Revision: 9597
Modified:
trunk/gnue-forms/src/GFObjects/GFBlock.py
Log:
Don't do UPPER() for boolean fields.
Modified: trunk/gnue-forms/src/GFObjects/GFBlock.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFBlock.py 2007-05-21 13:56:32 UTC (rev
9596)
+++ trunk/gnue-forms/src/GFObjects/GFBlock.py 2007-05-21 16:47:34 UTC (rev
9597)
@@ -1545,7 +1545,7 @@
field = ['field', entry.field]
const = ['const', value]
- if not entry.query_casesensitive:
+ if not entry.query_casesensitive and isinstance(val, basestring):
field = ['upper', field]
const = ['upper', const]
@@ -1556,7 +1556,7 @@
field = ['field', entry.field]
const = ['const', value]
- if not entry.query_casesensitive:
+ if not entry.query_casesensitive and isinstance(val, basestring):
field = ['upper', field]
const = ['upper', const]
_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue