I have a stocklist of machinery I'm trying to expand on.
The working version has two tables, Categories and Machines.
The workflow is a database query of the categories and the machines are a repeat of the categories with the condition being the category ID in both tables.
I have a third table of Images which I would like to introduce so I can create a dynamic swiper of images associated with each machine record.
The images table has a field called machine_id which is populated with the ID from the Machines table.
I have added second repeat under the Machines query and then added the images table to that creating condition which has the images.machine_id equal to the machines.id
No matter what I do on my page I can't get the repeat of the images table from the workflow to show the entire array of images, it only shows the iamges for the first machine record, so I know the ID is not getting through to the images condition.
I don't know how to fix this.
also, when posting code in the forum, post the code itself, not a screenshot. It's much easier to read the code directly than trying to find issues on screenshots.
Well select the values which you want to be available on the page. Or simply select “Exclude” and don’t add any values, this will make all the fields available on your page.
If you have included the fields of the query in the repeat it would be easier and the solution of @Teodor is correct also. You did the same with the categories query. Setting the Output Filter for the repeat to Exclude and select no fields is the same as including all fields.