adamfairholm / Elasticquent

Map Larvel Eloquent models to Elasticsearch types
MIT License
201 stars 38 forks source link

Adding ability to set a sort query on the search #14

Closed yswery closed 9 years ago

yswery commented 9 years ago

Currently speaking there is no way to set a way to apply a sort on the Elasticquent query.

This is an additional parameter and thus a non-breaking change adding the ability to apply a sort query to the Elasticquent search.

chainlist commented 9 years ago

Upvote this pull request. That's needed, indeed ! :)

kticka commented 9 years ago

Totaly agree!

adamfairholm commented 9 years ago

Thanks @yswery! I need to refactor this function in a future release, though - I didn't anticipate the amount of parameters and I think a config array would be better suited to this.