Skip to content

Commit

Permalink
fix: added filter for eventi rassegne in Event Search (#774)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabrina-bongiovanni authored and pnicolli committed Sep 17, 2024
1 parent c94001f commit 4661b5c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
### Migliorie

- Migliorato il layout della galleria immagini nei CT.
- Nel blocco Cerca Evento, nel caso di un Evento Rassegna, tra i risultati vengono ora visualizzati solo gli appuntamenti della rassegna e non l'evento contenitore.

### Novità

Expand Down
5 changes: 5 additions & 0 deletions src/components/ItaliaTheme/Blocks/EventSearch/Body.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ const Body = ({ data, id, inEditMode, path, onChangeBlock }) => {
o: 'plone.app.querystring.operation.selection.any',
v: ['Event'],
},
{
i: 'rassegna',
o: 'plone.app.querystring.operation.boolean.isFalse',
v: '',
},
];

[filterOne, filterTwo, filterThree].forEach((f) => {
Expand Down

0 comments on commit 4661b5c

Please sign in to comment.