remove portal_type criteria when searching for contents
This commit is contained in:
parent
6fd90c6220
commit
55515e6b6b
|
@ -52,9 +52,6 @@ class QueryBuilder(object):
|
||||||
else:
|
else:
|
||||||
query['path'] = {'query': currentPath, 'navtree': 1}
|
query['path'] = {'query': currentPath, 'navtree': 1}
|
||||||
|
|
||||||
# Only list the applicable types
|
|
||||||
query['portal_type'] = utils.typesToList(context)
|
|
||||||
|
|
||||||
# Apply the desired sort
|
# Apply the desired sort
|
||||||
sortAttribute = navtree_properties.getProperty('sortAttribute', None)
|
sortAttribute = navtree_properties.getProperty('sortAttribute', None)
|
||||||
if sortAttribute is not None:
|
if sortAttribute is not None:
|
||||||
|
|
Reference in New Issue