@gingersoul I hadn’t tested Julia’s template myself initially, but I just tested it and realized you were right that this didn’t seem to be working. After way too much tinkering, I finally figured out the issue and it’s annoyingly simple. You’ll notice that when the list variable is being set, the opening and closing Item
tags are on different lines, like this:
<List postIDs>
<Loop query=postQuery>
<Item>
<Field id />
</Item>
</Loop>
</List>
What happens here is that, just like in regular HTML, when you add a line break between your opening and closing tags, it adds a space on the front end. This isn’t a unique feature of L&L, it’s just how HTML works. The result is that each number in the postIDs
list ends up including spaces instead of being a number by itself, like " 1234 " instead of “1234”. That breaks the comparison further down on the template. Luckily, the solution is super simple: bring those Item
tags onto the same line and then the whole template works:
<List postIDs>
<Loop query=postQuery>
<Item><Field id /></Item>
</Loop>
</List>
Tada! 