We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e226764 commit 161eb0cCopy full SHA for 161eb0c
src/BootstrapTable.js
@@ -872,7 +872,7 @@ class BootstrapTable extends Component {
872
const currLastPage = Math.ceil(this.store.getDataNum() / sizePerPage);
873
let { currPage } = this.state;
874
if (currPage > currLastPage) currPage = currLastPage;
875
- result = this.store.page(currPage, sizePerPage).get();
+ result = this.store.page(Util.getNormalizedPage(currPage), sizePerPage).get();
876
this.setState({
877
data: result,
878
selectedRowKeys: this.store.getSelectedRowKeys(),
0 commit comments