Tuesday 9 June 2015

Content Search Query Rule for showing Items Modified Today

I just learnt a really cool Content Search Query Rule which I just have to share.

So in the Content Search Web Part Query, you add:
-LastModifiedTime:1900-01-01..{Today-1}


The Search result will then only show you item which where modified today. Thus is removing anything from 1900-01-01 to anything created Yesterday (Today-1).

No comments:

Post a Comment