[Zope-Checkins] CVS: Products/PluginIndexes/common - util.py:1.10.68.4

Andreas Jung andreas at andreas-jung.com
Tue Jun 29 05:52:15 EDT 2004


Update of /cvs-repository/Products/PluginIndexes/common
In directory cvs.zope.org:/tmp/cvs-serv29079/lib/python/Products/PluginIndexes/common

Modified Files:
      Tag: Zope-2_7-branch
	util.py 
Log Message:
     - PluggableIndexes: parseIndexRequest() turned empty query sequences into
       'None' which effectively means "no restriction". However, an empty
       sequence of terms is the opposite on "no restriction" (for "or" 
       searches).  Patch by Dieter Maurer.


=== Products/PluginIndexes/common/util.py 1.10.68.3 => 1.10.68.4 ===
--- Products/PluginIndexes/common/util.py:1.10.68.3	Wed Jan 14 02:11:55 2004
+++ Products/PluginIndexes/common/util.py	Tue Jun 29 05:52:15 2004
@@ -128,6 +128,9 @@
                 if request.has_key(field):
                     setattr(self, op, request[field])
 
+        if not keys:
+            keys = None
+
         self.keys = keys
 
 



More information about the Zope-Checkins mailing list