Commit 49fe8c2c authored by Ayush Tiwari's avatar Ayush Tiwari

erp5_catalog: Use Folder class from OFS as base class for ZCatalog Class

parent 1de013d6
...@@ -20,7 +20,7 @@ import OFS.History ...@@ -20,7 +20,7 @@ import OFS.History
from App.class_init import default__class_init__ as InitializeClass from App.class_init import default__class_init__ as InitializeClass
from App.special_dtml import DTMLFile from App.special_dtml import DTMLFile
from thread import allocate_lock, get_ident from thread import allocate_lock, get_ident
from Products.ERP5Type.Core.Folder import Folder from OFS.Folder import Folder
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from AccessControl.Permissions import access_contents_information, \ from AccessControl.Permissions import access_contents_information, \
import_export_objects, manage_zcatalog_entries import_export_objects, manage_zcatalog_entries
...@@ -290,12 +290,12 @@ ContainerAssertions[LazyIndexationParameterList] = 1 ...@@ -290,12 +290,12 @@ ContainerAssertions[LazyIndexationParameterList] = 1
related_key_warned_column_set = set() related_key_warned_column_set = set()
class Catalog(CopyContainer, class Catalog(Folder,
Persistent, Persistent,
Acquisition.Implicit, Acquisition.Implicit,
ActiveObject, ActiveObject,
OFS.History.Historical, OFS.History.Historical,
Folder): ):
""" An Object Catalog """ An Object Catalog
An Object Catalog maintains a table of object metadata, and a An Object Catalog maintains a table of object metadata, and a
......
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