Commit 0f044971 authored by Ayush Tiwari's avatar Ayush Tiwari

sql_catalog: Use isIndexing Required for checking on indexing

parent 068262ea
......@@ -1324,7 +1324,7 @@ class Catalog(Folder,
Similar problems may happen with relations and acquisition of uid values (ex. order_uid)
with the risk of graph loops
"""
if not self.isIndexable():
if not self.isIndexingRequired():
return None
klass = self.__class__
......@@ -1504,7 +1504,7 @@ class Catalog(Folder,
LOG('ZSLQCatalog.SQLCatalog:catalogObjectList', WARNING,
'idxs is ignored in this function and is only provided to be compatible with CMFCatalogAware.reindexObject.')
if not self.isIndexable():
if not self.isIndexingRequired():
return
# Reminder about optimization: It might be possible to issue just one
......@@ -1765,7 +1765,7 @@ class Catalog(Folder,
"""
Set the path as deleted
"""
if not self.isIndexable():
if not self.isIndexingRequired():
return None
if uid is None and path is not None:
......@@ -1798,7 +1798,7 @@ class Catalog(Folder,
XXX Add filter of methods
"""
if not self.isIndexable():
if not self.isIndexingRequired():
return None
if uid is None and path is not None:
......
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