diff --git a/Products/zms/rest_api.py b/Products/zms/rest_api.py index 0cc17aa60..64647e514 100644 --- a/Products/zms/rest_api.py +++ b/Products/zms/rest_api.py @@ -71,7 +71,7 @@ def __call__(self, REQUEST=None, **kw): if context.meta_type == 'ZMSIndex': data = [] catalog = context.get_catalog() - q = {k:v for k,v in REQUEST.form.items()} + q = {k:v for k,v in REQUEST.form.items() if v is not ''} l = catalog(REQUEST.form) data = [{item_name:r[item_name] for item_name in catalog.schema()} for r in l] elif context.meta_type == 'ZMSMetamodelProvider':