Voxel Spring Sale is now Live →

Deleted event still shows on preview card

  • Solved
  • Posted 1 year ago

Hi, I made a post-relation of places with events .
(Relation type: has one / belongs to one).
Because I want a place to have one event. And an event belongs to one place.

On the single page and the preview card I’m showing the event title with a Heading widget and that works well.
Except when I delete the event and after that I create a new event for that place, on the single page it shows the new correct event, but on the preview card the heading title of the event doesnt show.
Is this a bug?

On the headings (for single page and preview card) I both have the same visibility rules :

Show if (dyn.tag):
@post(post-relation.status.label) is equal to Published
AND
@post(post-relation.event_date.upcoming.is_happening_now) is equal to 1

If I remove the visibilty rule (@post(post-relation.status.label) is equal to Published), then the preview card shows the deleted post ( that has the label “Trash”). So that is wrong.
Can you please check this?