Skip to content

Commit

Permalink
Fix traceIDs query params clobbering form search (jaegertracing#83)
Browse files Browse the repository at this point in the history
Signed-off-by: vvvprabhakar <[email protected]>
  • Loading branch information
tiffon authored Sep 26, 2017
1 parent 7ec5120 commit bfdc08d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/SearchTracePage/TraceSearchForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ const mapDispatchToProps = dispatch => {
minDuration,
maxDuration,
lookback,
traceIDs,
} = fields;
// Note: traceID is ignored when the form is submitted

store.set('lastSearch', { service, operation });

Expand Down Expand Up @@ -317,7 +317,6 @@ const mapDispatchToProps = dispatch => {
tag: tagsToQuery(tags) || undefined,
minDuration: minDuration || null,
maxDuration: maxDuration || null,
traceID: traceIDsToQuery(traceIDs) || undefined,
});
},
};
Expand Down

0 comments on commit bfdc08d

Please sign in to comment.