commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r9086 - in trunk/gnue-forms/src: . GFObjects


From: reinhard
Subject: [gnue] r9086 - in trunk/gnue-forms/src: . GFObjects
Date: Wed, 29 Nov 2006 04:14:21 -0600 (CST)

Author: reinhard
Date: 2006-11-29 04:14:20 -0600 (Wed, 29 Nov 2006)
New Revision: 9086

Modified:
   trunk/gnue-forms/src/GFObjects/GFBlock.py
   trunk/gnue-forms/src/GFParser.py
Log:
Removed "sloppyQuery" creeping feature.


Modified: trunk/gnue-forms/src/GFObjects/GFBlock.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFBlock.py   2006-11-28 19:34:29 UTC (rev 
9085)
+++ trunk/gnue-forms/src/GFObjects/GFBlock.py   2006-11-29 10:14:20 UTC (rev 
9086)
@@ -980,15 +980,6 @@
             block.__last_query_values = {}
             block.__last_query_values.update(block.__query_values)
 
-        # graft in the sloppy query stuff if needed
-        for block in maxList:
-            for entry in block._entryList:
-                if entry._type == 'GFEntry' and \
-                        hasattr(entry._field, 'sloppyQuery') and \
-                        block.__query_values.has_key(entry._field):
-                    block.__query_values[entry._field] = "%" + "%".join(
-                            list(block.__query_values[entry._field])) + "%"
-
         # Find root block
         rootBlock = maxList[-1]
 

Modified: trunk/gnue-forms/src/GFParser.py
===================================================================
--- trunk/gnue-forms/src/GFParser.py    2006-11-28 19:34:29 UTC (rev 9085)
+++ trunk/gnue-forms/src/GFParser.py    2006-11-29 10:14:20 UTC (rev 9086)
@@ -638,13 +638,6 @@
                               'automatically when a query is requested. If '
                               'the field is visible the user can still '
                               'override the value.' },
-            'sloppyQuery': {
-               'Typecast': GTypecast.text,
-               'Label': _('Sloppy Queries'),
-               'Description': 'When set, whatever value the user enters for '
-                              'the query mask is rewritten with % between '
-                              'each character. Thus {example} would be '
-                              'queried as {%e%x%a%m%p%l%e%}' },
             'query_casesensitive': {
                'Typecast': GTypecast.boolean,
                'Label': _('Perform queries case-sensitive'),





reply via email to

[Prev in Thread] Current Thread [Next in Thread]