2

I have created a search results Webpart to display a number of user profiles, but the Web part will only display by rank rather than Ascending (as I have selected in the query properties) . Is there any way to override display by rank?

Here are 3 screen shots with the various properties set to try and display in Selected Property by ascending order. CWSP1 CWSP2 CWSP3

  • Can you include the "sort by" setting in your search result webpart? – Mark L Sep 7 '16 at 6:47
  • You can in the query configuration Mark but the webpart only seems to want to display by rank. – Razzmos Sep 7 '16 at 6:50
  • Sorry I didn't make it clear. I mean please include the setting or screenshot in the question. – Mark L Sep 7 '16 at 7:04
  • Edit results web part. Change to advanced mode and click Sort tab. There you can set managed property for ex. First Name Ascending. P.S. Rank is default – Marko Tica Sep 7 '16 at 7:11
  • EVT - I did that and the test query works, but the webpart still seems to only be able sort by Rank. The query webpart properties allows you to deselect display by rank, but when I do that no results are shown. – Razzmos Sep 7 '16 at 7:14
1

This approach seems to work - http://habaneroconsulting.com/insights/why-are-my-sort-orders-not-working-in-my-sharepoint-2013-search-results-web-part#.V8_OBzj2a70

  • You can do it that way also. – Marko Tica Sep 7 '16 at 9:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.