Helper returns all items including unpublished ones.
Hi guys
this happens in Umbraco 7.1.6.
I'm trying to build a nav system, but the helper is return all nodes including unpublished ones. I thought that the helper would only return published content?
Helper returns all items including unpublished ones.
Hi guys
this happens in Umbraco 7.1.6.
I'm trying to build a nav system, but the helper is return all nodes including unpublished ones. I thought that the helper would only return published content?
Code snippet below:
Anyone can see where I'm going wrong?! I get all nodes including unpublished ones even with the IsVisible method in the query.
Any thoughts?!
Thank you all!
is working on a reply...