NO BUG: ACF Relationship within Repeater

Browser: Chrome
OS:Windows
URL: Link

I have set up various custom post types:

  1. Trainer
  2. Halle
  3. Training

Each training has training times. For each training time a trainer and a “halle” is associated.
The trainer for the training can differ depending on the timeslot.
In order to set up the relationship I used ACF repeater fields with the following data:

  1. Day of the week
  2. Time
  3. Trainer (relationship to CPT → Trainer)
  4. Halle (relationship to CPT → Halle)

When I try to display the data in the frontend it does not work.

I only get the:

  1. Day of the week
  2. Time

but not the trainer nor the “halle”.

I set it up like this:
A container with query loop “ACF Repeater” (1), within the container the “day of the week” and “time” as acf fields, and a query loop with “ACF Relation” (2) for the trainer and another one for “halle” (3).
image

However, this doesn’t seem to work.

Hello,

it seems that I can not replicate the issue. In the screenshot below you can see how it works,

And here is my test data for the one “Training” CPT that you see above.

Can you maybe record a video, if I’ll notice something different?

Matej

Hi @Matej thanks for taking a look. I think the problem was 30cm in front of the computer. I recorded it and showed the settings and suddenly it worked.
Very strange. Anyways, it looks good and works as intended.
So there is no bug.

Hehe, nice. I’m happy that it works now and that the issue was so easy to solve :grin:

Thanks for your response,
Matej