Skip to content

Commit

Permalink
Add secondary sort to getJourneySteps query (#82281)
Browse files Browse the repository at this point in the history
Fixes ordering bug
  • Loading branch information
Kerry350 authored Nov 2, 2020
1 parent 6451a8f commit ed19912
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const getJourneySteps: UMElasticsearchQueryFn<GetJourneyStepsParams, Ping
],
},
},
sort: [{ '@timestamp': { order: 'asc' } }],
sort: [{ 'synthetics.step.index': { order: 'asc' } }, { '@timestamp': { order: 'asc' } }],
_source: {
excludes: ['synthetics.blob'],
},
Expand Down

0 comments on commit ed19912

Please sign in to comment.