[CMF-checkins] CVS: CMF/CMFCore - CatalogTool.py:1.48.2.1

Yvo Schubbe schubbe at web.de
Fri Dec 19 09:53:54 EST 2003


Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv9894/CMFCore

Modified Files:
      Tag: yuppie-collector025-branch
	CatalogTool.py 
Log Message:
- index listCreators


=== CMF/CMFCore/CatalogTool.py 1.48 => 1.48.2.1 ===
--- CMF/CMFCore/CatalogTool.py:1.48	Sun Dec  7 15:27:28 2003
+++ CMF/CMFCore/CatalogTool.py	Fri Dec 19 09:53:54 2003
@@ -108,11 +108,13 @@
     def enumerateIndexes( self ):
         #   Return a list of ( index_name, type ) pairs for the initial
         #   index set.
-        #   id is depricated and may go away, use getId!
+        #   id is deprecated and may go away, use getId!
+        #   Creator is deprecated and may go away, use listCreators!
         return ( ('Title', 'TextIndex')
                , ('Subject', 'KeywordIndex')
                , ('Description', 'TextIndex')
                , ('Creator', 'FieldIndex')
+               , ('listCreators', 'KeywordIndex')
                , ('SearchableText', 'TextIndex')
                , ('Date', 'FieldIndex')
                , ('Type', 'FieldIndex')
@@ -133,13 +135,15 @@
     security.declarePublic( 'enumerateColumns' )
     def enumerateColumns( self ):
         #   Return a sequence of schema names to be cached.
-        #   id is depricated and may go away, use getId!
+        #   id is deprecated and may go away, use getId!
+        #   Creator is deprecated and may go away, use listCreators!
         return ( 'Subject'
                , 'Title'
                , 'Description'
                , 'Type'
                , 'review_state'
                , 'Creator'
+               , 'listCreators'
                , 'Date'
                , 'getIcon'
                , 'created'




More information about the CMF-checkins mailing list