diff --git a/src/iosanita/contenttypes/restapi/services/modulistica_items/get.py b/src/iosanita/contenttypes/restapi/services/modulistica_items/get.py index aac965b..a7e968d 100644 --- a/src/iosanita/contenttypes/restapi/services/modulistica_items/get.py +++ b/src/iosanita/contenttypes/restapi/services/modulistica_items/get.py @@ -42,7 +42,9 @@ def get_modulistica_data(self, context=None): context = self.context res = [] for brain in context.getFolderContents(): - if brain.portal_type == "Document" and brain.getId == "multimedia": + if brain.portal_type == "Document" and ( + brain.getId == "immagini" or brain.getId == "documenti" + ): continue child = brain.getObject() serializer = queryMultiAdapter(