Commit 71296cc2 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

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

parent f334e6d2
......@@ -894,7 +894,9 @@ class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
Return a list of wrapped objects for reindexing.
"""
if deferred:
# No need to wrap
# No need to wrap, but should return a list
if isinstance(object_value_list, set):
object_value_list = list(object_value_list)
return object_value_list
portal = self.getPortalObject()
......
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