Creating a "Sort by" Button for the Search Results Page in Guide

7 Comments

  • Bogdan Andrei Sturzoiu

    Hi Zachary, 

    we do have a plan to add search results sorting by created/updated date - at least in the back end at first. Should be done in the next couple of months.

    The search results are currently sorted by relevance only.

    0
  • Frits van Dee

    Hi Bogdan,

    Is it already possible to use the created date as a sorting option?

    0
  • Bogdan Andrei Sturzoiu

    Hi Frits!

    not in the UI, but there is an option in the Search API.

    0
  • davecole

    Is there any update on this? This functionality would be really useful

    0
  • Naomi Watnick

    Hi @... and Zachary Thompson - Could you please work on a link that allows us the option of displaying the results in a certain order?  For example, https://support.zendesk.com/hc/en-us/search?query=keyword&sort=latest (the query=keyword already exists, please add a sort=type).  Thanks!

    1
  • Naomi Watnick

    Hi @..., do you have any updates on this? (re: query sort by link)

    0
  • Pete B

    Hi Naomi Watnick

    Thanks for raising this. We have the same requirement to be able to give our users a sorting facility. 

    I am a dev, and have reviewed the documentation, and from what I can see, this is only achievable by custom building the search results using the help centre API. Please see a link to this below: 

    https://developer.zendesk.com/rest_api/docs/help_center/search#search-articles

    The 'sort by' feature is listed in the table and will allow for 'created at' and 'updated at'. You can also have a 'sort order' - please see this in the table as well. The sort order will allow for 'ascending' and 'descending'. 

    0

Please sign in to leave a comment.

Powered by Zendesk