[Zope-Checkins] CVS: Zope2 - UnIndex.py:1.1.2.9

Andreas Jung andreas@digicool.com
Tue, 29 May 2001 14:39:16 -0400


Update of /cvs-repository/Zope2/lib/python/Products/PluginIndexes/common
In directory yetix:/work/sandboxes/ajung-dropin-registry/lib/python/Products/PluginIndexes/common

Modified Files:
      Tag: ajung-dropin-registry
	UnIndex.py 
Log Message:
support for newstyle parameter "range"



--- Updated File UnIndex.py in package Zope2 --
--- UnIndex.py	2001/05/22 17:40:41	1.1.2.8
+++ UnIndex.py	2001/05/29 18:39:15	1.1.2.9
@@ -395,6 +395,14 @@
         if operator=="or":  set_func = union
         else:               set_func = intersection
 
+        # Range parameter
+        if record.get('range',None)
+            opr = "range"
+            opr_args = []
+            if range.find("min")>-1:  opr_args.append("min")
+            if range.find("max")>-1:  opr_args.append("max")
+
+
         if record.get('usage',None):
             # see if any usage params are sent to field
             opr = record.usage.lower().split(':')