Remove dynamic zone filters

This commit is contained in:
Convly 2022-01-06 16:35:44 +01:00
parent 3eafe1c6e1
commit 81fff98c31

View File

@ -263,6 +263,11 @@ const convertFiltersQueryParams = (filters, schema) => {
else if (attribute.type === 'media') {
filters[key] = sanitizeFilters(value, strapi.getModel('plugin::upload.file'));
}
// Dynamic Zones
else if (attribute.type === 'dynamiczone') {
removeOperator();
}
}
// Handle operators