Skip to content

Commit

Permalink
update serializer for bando children
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-bellenghi committed Oct 31, 2024
1 parent 97baeab commit 22797d5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
5 changes: 3 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ Changelog
6.2.23 (unreleased)
-------------------

- Nothing changed yet.

- Override BandoView: in io-Comune we add new children on Folder Deepening content
and we need to proper handle it
[lucabel]

6.2.22 (2024-10-30)
-------------------
Expand Down
10 changes: 10 additions & 0 deletions src/design/plone/contenttypes/browser/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,15 @@
permission="zope2.View"
/>
</configure>
<configure package="redturtle.bandi.browser">
<browser:page
name="bando_view"
template="bando.pt"
permission="zope2.View"
for="..interfaces.IBando"
class="design.plone.contenttypes.browser.bando.BandoView"
layer="design.plone.contenttypes.interfaces.IDesignPloneContenttypesLayer"
/>
</configure>

</configure>
3 changes: 2 additions & 1 deletion src/design/plone/contenttypes/interfaces/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# -*- coding: utf-8 -*-
"""Module where all interfaces, events and exceptions live."""
from redturtle.volto.interfaces import IRedturtleVoltoLayer
from redturtle.bandi.interfaces.browserlayer import IRedturtleBandiLayer
from zope.interface import Interface


class IDesignPloneContenttypesLayer(IRedturtleVoltoLayer):
class IDesignPloneContenttypesLayer(IRedturtleVoltoLayer, IRedturtleBandiLayer):
"""Marker interface that defines a browser layer."""


Expand Down

0 comments on commit 22797d5

Please sign in to comment.