Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

Commit

Permalink
Merge pull request #69 from ascrutae/fix/error-search-failed
Browse files Browse the repository at this point in the history
fix search condition failed
  • Loading branch information
wu-sheng authored Sep 27, 2017
2 parents 52badc9 + 6e1c04b commit 9013a59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public String load(long startTime, long endTime, int minCost, int maxCost, int l
params.add(new BasicNameValuePair("globalTraceId", globalTraceId));
params.add(new BasicNameValuePair("operationName", operationName));
params.add(new BasicNameValuePair("applicationId", String.valueOf(applicationId)));
params.add(new BasicNameValuePair("error", error));
params.add(new BasicNameValuePair("error", error.toLowerCase()));
params.add(new BasicNameValuePair("sort", sort));

String topSegLoadUrl = UrlCreator.compound("segment/top");
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/static/trace/top-trace-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function createTopTraceDataTable() {
param.maxCost = maxCost;
param.globalTraceId = globalTraceId;
param.operationName = operationName;
param.isError = isError;
param.error = isError;
param.applicationId = applicationId;
param.sort = sort;

Expand All @@ -72,4 +72,4 @@ function createTopTraceDataTable() {

function postAjaxRequest() {
topTraceDataTable.ajax.reload();
}
}

0 comments on commit 9013a59

Please sign in to comment.