Commit 569f7809 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fixup! fixup! fixup! erp5_full_text_mroonga_catalog: defer fulltext index and unindex using...

parent 71296cc2
...@@ -978,7 +978,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject): ...@@ -978,7 +978,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
security.declarePrivate('reindexObject') security.declarePrivate('reindexObject')
reindexObject = reindexCatalogObject reindexObject = reindexCatalogObject
security.declarePrivate('catalogObjectList')
def catalogObjectList(self, object_list, *args, **kw): def catalogObjectList(self, object_list, *args, **kw):
"""Catalog a list of objects""" """Catalog a list of objects"""
m = object_list[0] m = object_list[0]
...@@ -995,6 +995,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject): ...@@ -995,6 +995,7 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
else: else:
super(CatalogTool, self).catalogObjectList(object_list, *args, **kw) super(CatalogTool, self).catalogObjectList(object_list, *args, **kw)
security.declarePrivate('deferredCatalogObjectList')
deferredCatalogObjectList = catalogObjectList deferredCatalogObjectList = catalogObjectList
security.declarePrivate('uncatalogObjectList') security.declarePrivate('uncatalogObjectList')
......
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