Skip to content

Commit

Permalink
Fix traceIDs query params clobbering form search (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiffon authored Sep 26, 2017
1 parent 5162309 commit fe2432a
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 fe2432a

Please sign in to comment.