Gravatar for changping.peng@avanade.com

Question by helen, Oct 22, 2015 12:52 PM

Coveo for Sitecore - how to add date sort

HI Team, In coveo for stiecore, may I ask how to add date sort? Regards. Helen

1 Reply
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Oct 22, 2015 2:06 PM

A date sort (Coveo Date Sort) component can be added the same way you add a relevancy or a field sort component in a search page in Coveo for Sitecore (see Inserting and Customizing a Sort Component).

The "coveo-sorts" placeholder is really small and can't be selected with the mouse cursor. You need to highlight the locations where a component can be added on the page by using the "Component" button of the Sitecore Page/Experience Editor "Home" ribbon menu section.

Gravatar for slangevin@coveo.com

Comment by Simon, Oct 23, 2015 9:48 AM

During a support call, we found out that the component was added, but not on the result page. It was instead showing in the nav bar and clicking on it yield no results. Changing the placeholder from coveo-sorts to /main-content/coveo-sorts replaced the sort component in the result page and allowed the component to work as expected.

Ask a question