[CMF-checkins] CVS: CMF - CatalogTool.py:1.6.2.1
tseaver@digicool.com
tseaver@digicool.com
Fri, 6 Apr 2001 13:08:09 -0400 (EDT)
Update of /cvs-repository/CMF/CMFCore
In directory korak:/tmp/cvs-serv23591/CMFCore
Modified Files:
Tag: CMF-1_0-branch
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:08:07 1.6.2.1
@@ -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):