We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a04f22 commit 58540b3Copy full SHA for 58540b3
src/BootstrapTable.js
@@ -157,7 +157,12 @@ class BootstrapTable extends Component {
157
currPage: page
158
});
159
} else {
160
- const sizePerPage = options.sizePerPage || this.state.sizePerPage;
+ // #481
161
+ // const sizePerPage = options.sizePerPage || this.state.sizePerPage;
162
+ let sizePerPage = this.state.sizePerPage;
163
+ if (this.props.options.sizePerPage !== options.sizePerPage) {
164
+ sizePerPage = options.sizePerPage;
165
+ }
166
167
// #125
168
if (!options.page &&
0 commit comments