From 00c2cf83920660b0df42d6e102c1cc56501364cd Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Wed, 8 Oct 2008 10:01:44 +0000 Subject: [PATCH] Reindex portal_activities in ERP5Site_reindexAll, since it contains indexed objects: active processes. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24097 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_core/ERP5Site_reindexAll.xml | 3 ++- product/ERP5/bootstrap/erp5_core/bt/revision | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_reindexAll.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_reindexAll.xml index 976afb9b5b..0048d64691 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_reindexAll.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/ERP5Site_reindexAll.xml @@ -102,12 +102,13 @@ context.portal_categories.activate(\n \n print "#### Indexing alarms ####"\n print "#### Indexing preferences ####"\n +print "#### Indexing active results ####"\n folder_tag = \'module\'\n folder_after_tag = (\'category\', \'person_stage_1\', \'group_person_stage_1\')\n object_tag = \'document\'\n object_after_tag = folder_after_tag\n object_priority = 2 + additional_priority\n -for folder in [context.portal_alarms, context.portal_preferences]:\n +for folder in [context.portal_alarms, context.portal_preferences, context.portal_activities]:\n folder.activate(\n tag=folder_tag,\n priority=object_priority,\n diff --git a/product/ERP5/bootstrap/erp5_core/bt/revision b/product/ERP5/bootstrap/erp5_core/bt/revision index fbee9e365f..ad12b97674 100644 --- a/product/ERP5/bootstrap/erp5_core/bt/revision +++ b/product/ERP5/bootstrap/erp5_core/bt/revision @@ -1 +1 @@ -982 \ No newline at end of file +983 \ No newline at end of file -- 2.30.9