Hello,
On this page: https://hardy-plant.org.uk/hps-bursary-reports-march-july-2024/
I have a provider like this:
Which should return any entries from the taxonomy Species.
For this post, the answer is Zero. There are no terms associated.
But, the result from the looper is a count of 1
Here’s the output
Results: {{dc:looper:count}}
In the editor, we see a term News displayed, which is a general category of this post but not part of Species.
When I run this outside the editor I see this:
The Looper Consumer correctly displays nothing!
But I have a text element, with a condition saying "if {{dc:looper:count}} = 0 display “No results” - this doesn’t happen, because the Looper:count seems to be one instead of zero.
Here’s the elements related to the output
In summary
- The {{dc:looper:count}} reports a count of 1, when it should be zero
- The “No results” element therefore doesn’t display as the looper count is not zero (wrongly)
- Whilst editing the layout, the Consumer displays “News |” when it shouldn’t
- When viewed outside the editor, the consumer behaves as expected
That’s it, Bill.