Skip to content

Commit

Permalink
Fix sort "by" to "id"
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinavdangeti committed Jan 13, 2021
1 parent 29b9788 commit 281e5f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/tests/sort/searches.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,14 +170,14 @@
}
},
{
"comment": "sort by age, descending, missing first, _id, ascending",
"comment": "sort by age, descending, missing first, id, ascending",
"search": {
"from": 0,
"size": 10,
"query": {
"match_all":{}
},
"sort": [{"by":"field","field":"age","missing":"first","desc":true},{"by":"field","field":"_id"}]
"sort": [{"by":"field","field":"age","missing":"first","desc":true},{"by":"id","desc":false}]
},
"result": {
"total_hits": 6,
Expand Down

0 comments on commit 281e5f8

Please sign in to comment.