Skip to content

Commit 96c35aa

Browse files
committed
fix #709
1 parent ba524f9 commit 96c35aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BootstrapTable.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ class BootstrapTable extends Component {
176176
});
177177
} else {
178178
// #125
179-
if (!options.page &&
180-
page > Math.ceil(nextProps.data.length / sizePerPage)) {
179+
// remove !options.page for #709
180+
if (page > Math.ceil(nextProps.data.length / sizePerPage)) {
181181
page = 1;
182182
}
183183
const sortInfo = this.store.getSortInfo();

0 commit comments

Comments
 (0)