[gen] Corrected Zope index type for Date fields.

This commit is contained in:
Gaetan Delannay 2013-05-10 16:08:58 +02:00
parent 820d3ef241
commit bac15b6ee1

View file

@ -1654,6 +1654,8 @@ class Date(Type):
import DateTime import DateTime
return DateTime.DateTime(value) return DateTime.DateTime(value)
def getIndexType(self): return 'DateIndex'
class File(Type): class File(Type):
def __init__(self, validator=None, multiplicity=(0,1), default=None, def __init__(self, validator=None, multiplicity=(0,1), default=None,
show=True, page='main', group=None, layouts=None, move=0, show=True, page='main', group=None, layouts=None, move=0,