--- a/src/pyams_content/generations/__init__.py Tue Jun 27 11:46:27 2017 +0200
+++ b/src/pyams_content/generations/__init__.py Tue Jun 27 11:47:34 2017 +0200
@@ -18,12 +18,12 @@
# import interfaces
from pyams_catalog.interfaces import DATE_RESOLUTION
from pyams_content.interfaces import IBaseContent
-from pyams_content.component.links.interfaces import IInternalLink
+from pyams_content.component.links.interfaces import IInternalLink, IInternalReferencesList
from pyams_content.root.interfaces import ISiteRootToolsConfiguration
from pyams_content.shared.common.interfaces import IWfSharedContent
from pyams_utils.interfaces.site import ISiteGenerations
from pyams_utils.interfaces.traversing import IPathElements
-from pyams_workflow.interfaces import IWorkflowState
+from pyams_workflow.interfaces import IWorkflowState, IWorkflowPublicationInfo
from zope.dublincore.interfaces import IZopeDublinCore
from zope.site.interfaces import INewLocalSite
@@ -75,8 +75,16 @@
('modified_date', DatetimeIndexWithInterface, {'interface': IZopeDublinCore,
'discriminator': 'modified',
'resolution': DATE_RESOLUTION}),
+ ('publication_date', DatetimeIndexWithInterface, {'interface': IWorkflowPublicationInfo,
+ 'discriminator': 'publication_date',
+ 'resolution': DATE_RESOLUTION}),
+ ('first_publication_date', DatetimeIndexWithInterface, {'interface': IWorkflowPublicationInfo,
+ 'discriminator': 'first_publication_date',
+ 'resolution': DATE_RESOLUTION}),
('link_reference', FieldIndexWithInterface, {'interface': IInternalLink,
- 'discriminator': 'reference'})]
+ 'discriminator': 'reference'}),
+ ('link_references', KeywordIndexWithInterface, {'interface': IInternalReferencesList,
+ 'discriminator': 'references'})]
REQUIRED_TOOLS = [('views', ViewsManager),