Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

Is it possible to get content that IsPendingPublish:True

$
0
0

Hi!

I have a question if it possible to get content from Find that is 

"IsPendingPublish$$bool": true,

Lets say I create a new page, I set that it should be published tomorrow at 15:00. When I check the find index, I see that the page exists in the index, but with status 

"IsPendingPublish$$bool": true,

When I run my code to get pages that has a ContentOwner that matches a specific ID I get the correct result, but the page that has "IsPendingPublish: true" is not included in the search result. 

var results = search
.Filter(x => x.ContentOwner.ID.Match(id))
.Take(10).GetContentResult();

Is there any fancy and cool filter that I can use to include content that has "IsPendingPublish:true"?

/ Henric


Viewing all articles
Browse latest Browse all 9076

Trending Articles