[CMF-checkins] CVS: CMF - CatalogTool.py:1.7
tseaver@digicool.com
tseaver@digicool.com
Fri, 6 Apr 2001 13:07:34 -0400 (EDT)
Update of /cvs-repository/CMF/CMFCore
In directory korak:/tmp/cvs-serv23459/CMFCore
Modified Files:
CatalogTool.py
Log Message:
- Updated CatalogTool to handle searchable vs. displayable DublinCore
dates properly.
--- Updated File CatalogTool.py in package CMF --
--- CatalogTool.py 2001/03/26 22:54:24 1.6
+++ CatalogTool.py 2001/04/06 17:07:32 1.7
@@ -161,6 +161,7 @@
self._catalog.addIndex('created', 'FieldIndex')
self._catalog.addIndex('effective', 'FieldIndex')
self._catalog.addIndex('expires', 'FieldIndex')
+ self._catalog.addIndex('modified', 'FieldIndex')
# Catalog meta-data
self._catalog.addColumn('Subject')
self._catalog.addColumn('Title')
@@ -173,6 +174,11 @@
self._catalog.addColumn('created')
self._catalog.addColumn('effective')
self._catalog.addColumn('expires')
+ self._catalog.addColumn('modified')
+ self._catalog.addColumn('CreatedDate')
+ self._catalog.addColumn('EffectiveDate')
+ self._catalog.addColumn('ExpiresDate')
+ self._catalog.addColumn('ModifiedDate')
# searchResults has inherited security assertions.
def searchResults(self, REQUEST=None, **kw):