Skip to content

Commit

Permalink
fix #709
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenFang committed Sep 27, 2016
1 parent ba524f9 commit 96c35aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/BootstrapTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ class BootstrapTable extends Component {
});
} else {
// #125
if (!options.page &&
page > Math.ceil(nextProps.data.length / sizePerPage)) {
// remove !options.page for #709
if (page > Math.ceil(nextProps.data.length / sizePerPage)) {
page = 1;
}
const sortInfo = this.store.getSortInfo();
Expand Down

0 comments on commit 96c35aa

Please sign in to comment.