Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
Create a new property SortDate, and sort by that date?
In product page:
public DateTime SortDate => Created;
In other pages:
public DateTime SortDate => Update;
Hi,
Could some help me?
I have a below requirement from client
PageType Article
{
DateTime Created;
DateTieme Update;
}
PageType Product
{
DateTime Created;
DateTieme Update;
}
We have requirement to sort the search result in following way.
when sorting is by latest, it would sort by page's updated date,
Except: Product pages, those should show in created date order.
Thanks,
Mahesh Kulkarni