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}]}]

Comments

Popular posts from this blog

Run Powershell script on Remote Computer/Server

SPDActivities - DP.SharePoint.Workflow - Workflow failed to run

Volatile function error for SharePoint calculated field current date