Hi, is there any way to these kind of things:
var result = this.findClient .Search() .OrderBy(content => content.SortTimeTicks - DateTime.UtcNow.Ticks < 0 ? (content.SortTimeTicks - DateTime.UtcNow.Ticks) * -1 : content.SortTimeTicks - DateTime.UtcNow.Ticks) .GetContentResult();
i.e. on the fly calculations manipulating the sort order.
/Regard Niklas
Hi Niklas I assume you're trying to get a random order to the search results?
There is a NuGet package that does this - http://nuget.episerver.com/en/OtherPages/Package/?packageId=Random2Find
Hi, is there any way to these kind of things:
i.e. on the fly calculations manipulating the sort order.
/Regard Niklas