Added visible publication date to index
authorThierry Florac <tflorac@ulthar.net>
Wed, 16 Jan 2019 15:43:57 +0100
changeset 143 d02a2552ea24
parent 142 125f79fc86d2
child 144 1d07028b9283
Added visible publication date to index
src/pyams_content_es/component/workflow.py
--- a/src/pyams_content_es/component/workflow.py	Fri Jan 11 13:54:40 2019 +0100
+++ b/src/pyams_content_es/component/workflow.py	Wed Jan 16 15:43:57 2019 +0100
@@ -38,7 +38,8 @@
             'effective_date': workflow_pub_info.publication_effective_date,
             'push_end_date': workflow_pub_info.push_end_date,
             'expiration_date': workflow_pub_info.publication_expiration_date,
-            'first_publication_date': workflow_pub_info.first_publication_date
+            'first_publication_date': workflow_pub_info.first_publication_date,
+            'visible_publication_date': workflow_pub_info.visible_publication_date
         })
     workflow_state = IWorkflowState(content, None)
     if workflow_state is not None: