I have two tables, two models and two repositories.
Faqs relate to partitions ( one partition has many faqs). This relationship is fulfilled by storing the uid section in faq.
In my templates, I do:
<f:for each="{section.faqs}" as="faq"> <h3 class="question"><a href="#"><f:format.html>{faq.question}</f:format.html></a></h3> </f:for>
What displays faqs in this section.
This works as expected on the front side as a regular user.
However, when I view the page in the DRAFT workspace. Any draft questions are not displayed. I can only see faqs that are in the workspace. However, I can see sections from the project workspace.
Something is wrong in the relationship between faqs and partitions.
How to display faqs in sections of a project workspace?
source share