Skip to content

Commit

Permalink
revert sort change
Browse files Browse the repository at this point in the history
Signed-off-by: Shenoy Pratik <sgguruda@amazon.com>
  • Loading branch information
ps48 committed Sep 11, 2024
1 parent 5897b89 commit 6e0f5c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ export const getCustomIndicesTracesQuery = (
must_not: [],
},
},
...(sort ? { sort: [{ [sort.field]: { order: sort.direction } }] } : {}),
...(sort && { sort: [{ [sort.field]: { order: sort.direction } }] }),
track_total_hits: false,
};
if (traceId) {
Expand Down

0 comments on commit 6e0f5c6

Please sign in to comment.