Yif Swery

Results 3 comments of Yif Swery

Here is where in the code it should happen: https://github.com/adamfairholm/Elasticquent/blob/4d16e2df77449d75058231b92bdc3aab92bb87ec/src/ElasticquentTrait.php#L262

You need to pass through thr ElasticSearch sort params. Example: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-sort.html

Seems they have closed off and changed their API :( Will have to look if there is anything that can be altered as a quick fix to get this going...