Commit 370bec92 authored by Ayush Tiwari's avatar Ayush Tiwari

erp5_catalog: Prefer using CopyContainer from OFS due to inconsistency between...

erp5_catalog: Prefer using CopyContainer from OFS due to inconsistency between CatalogTool and CopyContainer in ERP5Type
parent 379fb2de
...@@ -43,7 +43,6 @@ from Products.CMFActivity.ActiveObject import ActiveObject ...@@ -43,7 +43,6 @@ from Products.CMFActivity.ActiveObject import ActiveObject
from Products.CMFActivity.ActivityTool import GroupedMessage from Products.CMFActivity.ActivityTool import GroupedMessage
from Products.ERP5Type.TransactionalVariable import getTransactionalVariable from Products.ERP5Type.TransactionalVariable import getTransactionalVariable
from Products.ERP5Type.Tool.BaseTool import BaseTool from Products.ERP5Type.Tool.BaseTool import BaseTool
from Products.ERP5Type.CopySupport import CopyContainer
from AccessControl.PermissionRole import rolesForPermissionOn from AccessControl.PermissionRole import rolesForPermissionOn
...@@ -304,7 +303,7 @@ class RelatedBaseCategory(Method): ...@@ -304,7 +303,7 @@ class RelatedBaseCategory(Method):
'RELATED_QUERY_SEPARATOR': RELATED_QUERY_SEPARATOR, 'RELATED_QUERY_SEPARATOR': RELATED_QUERY_SEPARATOR,
} }
class CatalogTool (CopyContainer, ZCatalog, CMFCoreCatalogTool, BaseTool): class CatalogTool (ZCatalog, CMFCoreCatalogTool, BaseTool):
""" """
This is a ZSQLCatalog that filters catalog queries. This is a ZSQLCatalog that filters catalog queries.
It is based on ZSQLCatalog 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