Move sequences indexes to pyams_sequence package
authorThierry Florac <tflorac@ulthar.net>
Thu, 08 Feb 2018 13:32:53 +0100
changeset 379 8f90682f0fce
parent 378 747671dffc66
child 380 4d6e2ed222a3
Move sequences indexes to pyams_sequence package
src/pyams_content/generations/__init__.py
--- a/src/pyams_content/generations/__init__.py	Thu Feb 08 13:14:07 2018 +0100
+++ b/src/pyams_content/generations/__init__.py	Thu Feb 08 13:32:53 2018 +0100
@@ -18,7 +18,6 @@
 # import interfaces
 from pyams_catalog.interfaces import MINUTE_RESOLUTION, DATE_RESOLUTION
 from pyams_content.interfaces import IBaseContent
-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
@@ -94,11 +93,7 @@
                                                                      'resolution': MINUTE_RESOLUTION}),
                     ('first_publication_date', DatetimeIndexWithInterface, {'interface': IWorkflowPublicationInfo,
                                                                             'discriminator': 'first_publication_date',
-                                                                            'resolution': MINUTE_RESOLUTION}),
-                    ('link_reference', FieldIndexWithInterface, {'interface': IInternalLink,
-                                                                 'discriminator': 'reference'}),
-                    ('link_references', KeywordIndexWithInterface, {'interface': IInternalReferencesList,
-                                                                    'discriminator': 'references'})]
+                                                                            'resolution': MINUTE_RESOLUTION})]
 
 
 def get_tools_manager(site, config, registry=None):