Skip to content

Commit

Permalink
change default filter to time based fields (opensearch-project#1030)
Browse files Browse the repository at this point in the history
Signed-off-by: Subhobrata Dey <[email protected]>
  • Loading branch information
sbcd90 authored May 21, 2024
1 parent c693606 commit 3793f5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ protected RestChannelConsumer prepareRequest(RestRequest request, NodeClient cli
String severityLevel = request.param("severityLevel", "ALL");
String alertState = request.param("alertState", "ALL");
// Table params
String sortString = request.param("sortString", "id");
String sortString = request.param("sortString", "start_time");
String sortOrder = request.param("sortOrder", "asc");
String missing = request.param("missing");
int size = request.paramAsInt("size", 20);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ protected RestChannelConsumer prepareRequest(RestRequest request, NodeClient cli
String detectorId = request.param("detector_id", null);
String detectorType = request.param("detectorType", null);
// Table params
String sortString = request.param("sortString", "id");
String sortString = request.param("sortString", "timestamp");
String sortOrder = request.param("sortOrder", "asc");
String missing = request.param("missing");
int size = request.paramAsInt("size", 20);
Expand Down

0 comments on commit 3793f5c

Please sign in to comment.