Author: reinhard
Date: 2007-01-05 13:23:02 -0600 (Fri, 05 Jan 2007)
New Revision: 9214
Modified:
trunk/gnue-forms/src/GFObjects/GFBlock.py
Log:
Fixed LIKE conditions for fields of datatype raw.
Modified: trunk/gnue-forms/src/GFObjects/GFBlock.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFBlock.py 2007-01-05 16:22:16 UTC (rev
9213)
+++ trunk/gnue-forms/src/GFObjects/GFBlock.py 2007-01-05 19:23:02 UTC (rev
9214)
@@ -1495,7 +1495,7 @@
# Falls through to old behaviour if no : condition given or
# the : condition is unknown
if not match:
- if entry.datatype == 'text':
+ if isinstance(val, basestring):
if self._convertAsterisksToPercent:
try:
val = ("%s" % val).replace('*', '%')
_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue