Commit 1460c40d authored by Aurel's avatar Aurel

also reindex ERP5 Form in portal_skins

parent f986a1ad
......@@ -134,9 +134,9 @@ for folder in tool_list:
start_tree=start_tree,
stop_tree=stop_tree,)
# Then we index ERP5 Python Scripts
print "#### Indexing ERP5 Python Scripts ####"
for path, obj in portal.portal_skins.ZopeFind(portal.portal_skins, obj_metatypes=('ERP5 Python Script',), search_sub=1):
# Then we index ERP5 Python Scripts and ERP5 Form
print "#### Indexing ERP5 Python Scripts and ERP5 Forms ####"
for _, obj in portal.portal_skins.ZopeFind(portal.portal_skins, obj_metatypes=('ERP5 Python Script', 'ERP5 Form'), search_sub=1):
  • don't we need to index ERP5 Report as well ?

  • I checked on some instance and yes they are indexed by default. Although I could not find any call to catalog to look after some, it should just be a matter of time before someone is hit by this bug ! I will add it in another commit then

  • done in 420f068e

Please register or sign in to reply
obj.activate(tag=folder_tag,
priority=object_priority,
after_tag=folder_after_tag).immediateReindexObject(sql_catalog_id=sql_catalog_id)
......
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