Skip to content

Commit

Permalink
[ML] Add secondary sort to ML events (#31063)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkyle committed Jun 4, 2018
1 parent 1e5dc50 commit 2a98e19
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ public SearchSourceBuilder build() {

SearchSourceBuilder searchSourceBuilder = new SearchSourceBuilder();
searchSourceBuilder.sort(ScheduledEvent.START_TIME.getPreferredName());
searchSourceBuilder.sort(ScheduledEvent.DESCRIPTION.getPreferredName());
if (from != null) {
searchSourceBuilder.from(from);
}
Expand Down

0 comments on commit 2a98e19

Please sign in to comment.