[Zope-Checkins] CVS: Zope2 - FieldIndex.py:1.4

andreas@serenade.digicool.com andreas@serenade.digicool.com
Fri, 1 Jun 2001 14:54:09 -0400


Update of /cvs-repository/Zope2/lib/python/Products/PluginIndexes/FieldIndex
In directory serenade:/tmp/cvs-serv28934/FieldIndex

Modified Files:
	FieldIndex.py 
Log Message:
- added "query_options" parameter to all index types
- made parseIndexRequest much more smarter in parsing the request parameter



--- Updated File FieldIndex.py in package Zope2 --
--- FieldIndex.py	2001/05/31 12:22:52	1.3
+++ FieldIndex.py	2001/06/01 18:53:38	1.4
@@ -1,4 +1,4 @@
-##############################################################################
+#############################################################################
 # 
 # Zope Public License (ZPL) Version 1.0
 # -------------------------------------
@@ -109,8 +109,6 @@
 from OFS.SimpleItem import SimpleItem
 
 
-import sys
-
 _marker = []
 
 class FieldIndex(UnIndex,PluggableIndex.PluggableIndex, Persistent,
@@ -127,6 +125,7 @@
          'help': ('FieldIndex','FieldIndex_Settings.stx')},
     )
 
+    query_options = ["query","range"]
 
     index_html = DTMLFile('dtml/index', globals())