Commit 0dd3d456 authored by Sebastien Robin's avatar Sebastien Robin

check again if the portal isIndexable, it was removed by mystake by jp


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@916 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b47d4b1d
...@@ -345,9 +345,9 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base): ...@@ -345,9 +345,9 @@ class Catalog(Persistent, Acquisition.Implicit, ExtensionClass.Base):
# LOG("Call SQL Method %s with args:" % method_name,0, str(kw)) # LOG("Call SQL Method %s with args:" % method_name,0, str(kw))
# Alter row # Alter row
# Create row # Create row
#try: zope_root = self.getPortalObject().aq_parent
if 1: root_indexable = int(getattr(zope_root,'isIndexable',1))
#LOG("Call SQL Method %s with args:" % method_name,0, str(kw)) if root_indexable:
method(**kw) method(**kw)
#except: #except:
# # # This is a real LOG message # # # This is a real LOG message
......
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