Details
-
Improvement
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
Pulsar
-
Pulsar 241 - Site Dev APIs 1
Description
Hey,
To order the search results we need to add the 'sort' parameter to the connect api.
It's currently not possible to add the 'sort' parameter with the external search service queryBuilder.
The format of the parameter is:
&sort=publicationDate+desc
It's spilt into two parts of data; the property ('publicationDate') and the sort direction ('desc')
https://documentation.bloomreach.com/search-and-merchandising/docs/milestone-4.-api-deployment/search-use-cases/sorting.html contains a sample request.
The sort direction is either 'asc' or 'desc'.
This blocks the Date sorting on the NHSD search.
Please let me know if you require any more information.
Thanks,
Shane