Hi again! Keep on working in my travel agency site and having issues with repeatable field groups. I have a custom post type for Tours and I've created a repeatable field group for this type with several departure dates and, in each of them, a checkbox to mark if that departure date is confirmed or not.
In the frontpage I have a design made with Divi and I created a view (created with the block editor) to display, filter and search the tours. In each tour card inside the view, I'm showing several custom fields of each tour, image, title, duration, etc, no problem with that. BUT I need to show for each tour in that view the next confirmed departure date from the repeatable field group if exists. Just the next one, that's have to be the first one ordered by date ascending.
I tried simply to add a conditional block in my view and set up a condition to show the field if the field with the checkbox is marked or not, but I can't choose the fields inside the repeatable field group for the conditional block, only regular custom fields are showed up.
So I tried to create a view just to display the departure date, filtered to match with my requirements (it has to be the first one with the confirmation checked) and then, include this view inside the main view with the tours loop, that's nested views. In the block editor it seems to work, but when I save the view nothing is displayed in my frontpage. If I delete the date view nested in the main one it works again.
In the attached image frame-2806.jpg you can see in the tour card's top left corner, the conditional label with the confirmed departure date in my prototype design, that's what I'm trying to get.
In the other one how is repeatable field group set up for the custom post type.
What is the link to your site?: hidden link