Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
Merge pull request #730 from metasfresh/dev-727
Browse files Browse the repository at this point in the history
Grid view: reset current page to 1 when filtering #727
  • Loading branch information
damianprzygodzki committed May 11, 2017
2 parents 1dd8642 + 930d5c4 commit f2437cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/app/DocumentList.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,8 @@ class DocumentList extends Component {

handleFilterChange = (filters) => {
this.setState({
filters: filters
filters: filters,
page: 1
}, () => {
this.fetchLayoutAndData(true);
})
Expand Down

0 comments on commit f2437cd

Please sign in to comment.