Hi guys,
I have a page menu item and some news inside it, to show the news I'm using a repeater.
When I save a new document type news and programmer the date of publish using the fields From and To, the news get the status Publishied No, but appear on page. The checkbox
show only published is checked.
I think resolve this using a where like this:
(DocumentPublishFrom is null AND DocumentPublishTo is null) OR (DocumentPublishFrom <= GETDATE() AND DocumentPublishTo >= GETDATE()) OR (DocumentPublishFrom is null AND DocumentPublishTo >= GETDATE()) OR (DocumentPublishFrom <= GETDATE() AND DocumentPublishTo is null)
But I want know if this is a bug or some configuration wrong on my kentico/webpart before I do the solution.
Thanks,
Leandro