For some reason it is listing both published AND unpublished pages. I believe this is erroneous behaviour, how can I fix it?
EDIT: Turns out it wasn't listing all unpublished pages, only one. I deleted the page and the issue has disappeared, I'm still confused as to why it happened in the first place though.
CurrentPage.Children returns unpublished children
Hi,
I'm using Umbraco 7.2.1.
I have the following code:
For some reason it is listing both published AND unpublished pages. I believe this is erroneous behaviour, how can I fix it?
EDIT: Turns out it wasn't listing all unpublished pages, only one. I deleted the page and the issue has disappeared, I'm still confused as to why it happened in the first place though.
Must be cache
is working on a reply...