Skip to content

Commit

Permalink
Adding sorting to dataset request
Browse files Browse the repository at this point in the history
  • Loading branch information
simianhacker committed Nov 18, 2020
1 parent 06d1334 commit b2daf3d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export const getDatasetForField = async (
},
size: 1,
_source: ['event.dataset'],
sort: [{ [timerange.field]: { order: 'desc' } }],
},
};

Expand Down

0 comments on commit b2daf3d

Please sign in to comment.