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 0ef6168f113f944d4beb5b4d8b7ba4b6bccb7077..7e2f4b30026951a26d2cc9edfe5642036906ed25 100755 --- 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 @@ -76,7 +76,7 @@ for o in list(context.portal_categories.objectValues()):\n \n print "#### Indexing preferences ####"\n context.portal_preferences.reindexObject(tag=\'module\', sql_catalog_id=sql_catalog_id, passive_commit=passive_commit)\n -for o in list(context.portal_preferences.objectValues(tag=\'module\')):\n +for o in list(context.portal_preferences.objectValues()):\n o.recursiveReindexObject(after_tag=(\'module\',\'category\'),tag=\'document\',priority=2, sql_catalog_id=sql_catalog_id, passive_commit=passive_commit)\n \n # We index simulation first to make sure we can calculate tests (ie. related quantity)\n