commit-gnue
[Top][All Lists]
Advanced

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

[gnue] r8689 - trunk/gnue-forms/src/GFObjects


From: reinhard
Subject: [gnue] r8689 - trunk/gnue-forms/src/GFObjects
Date: Thu, 14 Sep 2006 10:47:02 -0500 (CDT)

Author: reinhard
Date: 2006-09-14 10:47:01 -0500 (Thu, 14 Sep 2006)
New Revision: 8689

Modified:
   trunk/gnue-forms/src/GFObjects/GFBlock.py
Log:
Fixed traceback when button is bound to a block.


Modified: trunk/gnue-forms/src/GFObjects/GFBlock.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFBlock.py   2006-09-14 15:24:08 UTC (rev 
8688)
+++ trunk/gnue-forms/src/GFObjects/GFBlock.py   2006-09-14 15:47:01 UTC (rev 
8689)
@@ -910,7 +910,8 @@
     # graft in the sloppy query stuff if needed
     for block in maxList:
       for entry in block._entryList:
-        if hasattr (entry._field, 'sloppyQuery') and \
+        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])) + "%"





reply via email to

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