Commit 0a062e62 authored by Jérome Perrin's avatar Jérome Perrin

use recursiveReindexObject when objects can contains subobjets



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10661 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e9fc9c4e
...@@ -180,7 +180,7 @@ context.portal_domains.reindexObject(tag=\'module\',\n ...@@ -180,7 +180,7 @@ context.portal_domains.reindexObject(tag=\'module\',\n
sql_catalog_id=sql_catalog_id,\n sql_catalog_id=sql_catalog_id,\n
passive_commit=passive_commit)\n passive_commit=passive_commit)\n
for o in context.portal_domains.objectValues():\n for o in context.portal_domains.objectValues():\n
o.reindexObject(after_tag=(\'module\', \'category\', \'person_stage_1\'),\n o.recursiveReindexObject(after_tag=(\'module\', \'category\', \'person_stage_1\'),\n
tag=\'document\',\n tag=\'document\',\n
priority=2,\n priority=2,\n
sql_catalog_id=sql_catalog_id,\n sql_catalog_id=sql_catalog_id,\n
...@@ -206,7 +206,7 @@ context.portal_deliveries.reindexObject(tag=\'module\',\n ...@@ -206,7 +206,7 @@ context.portal_deliveries.reindexObject(tag=\'module\',\n
sql_catalog_id=sql_catalog_id,\n sql_catalog_id=sql_catalog_id,\n
passive_commit=passive_commit)\n passive_commit=passive_commit)\n
for o in context.portal_deliveries.objectValues():\n for o in context.portal_deliveries.objectValues():\n
o.reindexObject(after_tag=(\'module\', \'category\', \'person_stage_1\'),\n o.recursiveReindexObject(after_tag=(\'module\', \'category\', \'person_stage_1\'),\n
tag=\'document\',\n tag=\'document\',\n
priority=2,\n priority=2,\n
sql_catalog_id=sql_catalog_id,\n sql_catalog_id=sql_catalog_id,\n
...@@ -219,7 +219,7 @@ context.portal_orders.reindexObject(tag=\'module\',\n ...@@ -219,7 +219,7 @@ context.portal_orders.reindexObject(tag=\'module\',\n
sql_catalog_id=sql_catalog_id,\n sql_catalog_id=sql_catalog_id,\n
passive_commit=passive_commit)\n passive_commit=passive_commit)\n
for o in context.portal_orders.objectValues():\n for o in context.portal_orders.objectValues():\n
o.reindexObject(after_tag=(\'module\',\'category\', \'person_stage_1\'),\n o.recursiveReindexObject(after_tag=(\'module\',\'category\', \'person_stage_1\'),\n
tag=\'document\',\n tag=\'document\',\n
priority=2,\n priority=2,\n
sql_catalog_id=sql_catalog_id,\n sql_catalog_id=sql_catalog_id,\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment