Skip to content

Commit

Permalink
Add helpful comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Bargs committed Nov 30, 2016
1 parent 0d5a824 commit 14dc396
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export default function normalizeSortRequest(config) {
}
};

// The ES API only supports sort scripts of type 'number' and 'string'
function castSortType(type) {
const typeCastings = {
number: 'number',
Expand Down

0 comments on commit 14dc396

Please sign in to comment.