Skip to content

Commit

Permalink
updated naming
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele-andreotti committed Aug 28, 2024
1 parent c8a2752 commit 50b7210
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 50b7210

Please sign in to comment.