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

erp5_catalog: Add Folder class from ERP5Type core as an extra base class for CatalogTool.

parent 7663cc59
......@@ -42,6 +42,7 @@ from Acquisition import aq_base, aq_inner, aq_parent, ImplicitAcquisitionWrapper
from Products.CMFActivity.ActiveObject import ActiveObject
from Products.CMFActivity.ActivityTool import GroupedMessage
from Products.ERP5Type.TransactionalVariable import getTransactionalVariable
from Products.ERP5Type.Core.Folder import Folder
from AccessControl.PermissionRole import rolesForPermissionOn
......@@ -302,7 +303,7 @@ class RelatedBaseCategory(Method):
'RELATED_QUERY_SEPARATOR': RELATED_QUERY_SEPARATOR,
}
class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject):
class CatalogTool (UniqueObject, ZCatalog, CMFCoreCatalogTool, ActiveObject, Folder):
"""
This is a ZSQLCatalog that filters catalog queries.
It is based on ZSQLCatalog
......
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