Hi,
Could some help me?
I have a below requirement from client
PageType Article
{
DateTime Created;
DateTieme Update;
}
PageType Product
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
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