SharePoint - Sorting in Search result webpart
SharePoint 2013 - Search Result Web Part sorting
Search result web part sorting is different from content search web part. Here sorting need to be done in AvailableSortsJson attribute and not in FallbackSort attribute
AvailableSortsJson="[{'name':'Created (A-Z)','sorts':[{'p':'Created','d':1}]}]
Search result web part sorting is different from content search web part. Here sorting need to be done in AvailableSortsJson attribute and not in FallbackSort attribute
AvailableSortsJson="[{'name':'Created (A-Z)','sorts':[{'p':'Created','d':1}]}]
Comments
Post a Comment