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

Power BI Refresh Issue: unable to convert the value '' from the source data type 'VT_BSTR' to the expected data type 'VT_I8.

Office file not working for federated authenticated sites in SharePoint (SAML authentication).

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