Commit 562745ae authored by Ivan Tyagov's avatar Ivan Tyagov

Reindex cache plugins as well.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16884 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6c26cc23
...@@ -189,6 +189,18 @@ for folder in portal.objectValues(("ERP5 Folder",)):\n ...@@ -189,6 +189,18 @@ for folder in portal.objectValues(("ERP5 Folder",)):\n
object_priority=object_priority,\n object_priority=object_priority,\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
# reindex portal_caches plugins\n
print "#### Indexing portal_caches tool ####"\n
context.portal_caches.activate(\n
tag=folder_tag,\n
after_tag=folder_after_tag).Folder_reindexAll(\n
folder_tag=folder_tag,\n
folder_after_tag=folder_after_tag,\n
object_tag=object_tag,\n
object_after_tag=object_after_tag,\n
object_priority=object_priority,\n
sql_catalog_id=sql_catalog_id,\n
passive_commit=passive_commit)\n
\n \n
# Then we index inventories\n # Then we index inventories\n
object_tag = \'inventory\'\n object_tag = \'inventory\'\n
......
512 515
\ No newline at end of file \ No newline at end of file
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