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

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


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

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



--- Updated File PathIndex.py in package Zope2 --
--- PathIndex.py	2001/05/31 12:22:52	1.3
+++ PathIndex.py	2001/06/01 18:53:39	1.4
@@ -119,13 +119,16 @@
     __implements__ = (PluggableIndex.PluggableIndexInterface,)
 
     meta_type="PathIndex"
-
+    
     manage_options= (
         {'label': 'Settings',     
          'action': 'manage_main',
          'help': ('PathIndex','PathIndex_Settings.stx')},
     )
 
+    query_options = ["query","level"]
+
+
     def __init__(self,id,caller=None):
         self.id = id
 
@@ -329,7 +332,7 @@
         cid      ???
         """
 
-        record = parseIndexRequest(request,self.id)
+        record = parseIndexRequest(request,self.id,self.query_options)
         if record.keys==None: return None
 
         # get the level parameter