Skip to content

Commit

Permalink
(Merge branch) Programmatic Navigation: must use location in router.push
Browse files Browse the repository at this point in the history
  • Loading branch information
vasansr committed Dec 23, 2016
2 parents d5e7da4 + cde54df commit b525761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IssueList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default class IssueList extends React.Component {
}

setFilter(query) {
this.props.router.push({ query });
this.props.router.push({ pathname: this.props.location.pathname, query });
}

loadData() {
Expand Down

0 comments on commit b525761

Please sign in to comment.