--- a/src/pyams_content/shared/common/zmi/search.py Wed Sep 19 10:49:26 2018 +0200
+++ b/src/pyams_content/shared/common/zmi/search.py Wed Sep 19 10:54:08 2018 +0200
@@ -117,7 +117,7 @@
intids = get_utility(IIntIds)
catalog = get_utility(ICatalog)
params = Eq(catalog['parents'], intids.register(self.context)) & \
- Any(catalog['content_type'], CONTENT_TYPES.keys())
+ Any(catalog['content_type'], CONTENT_TYPES.keys())
query = self.request.params.get('query')
if query:
sequence = get_utility(ISequentialIntIds)
@@ -253,7 +253,7 @@
intids = get_utility(IIntIds)
catalog = get_utility(ICatalog)
params = Eq(catalog['parents'], intids.register(self.context)) & \
- Any(catalog['content_type'], CONTENT_TYPES.keys())
+ Any(catalog['content_type'], CONTENT_TYPES.keys())
query = data.get('query')
if query:
sequence = get_utility(ISequentialIntIds)