Skip to content

Commit

Permalink
fix #1702(workaround)
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenFang committed Oct 25, 2017
1 parent 9c0332a commit 5a70141
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/BootstrapTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ class BootstrapTable extends Component {
if (this.store.filterObj) this.handleFilterData(this.store.filterObj);
newState.currPage = Util.getFirstPage(nextProps.options.pageStartIndex);
} else {
data = this.store.sort().get();
newState.data = data;
}
this.setState(() => newState);
Expand Down

0 comments on commit 5a70141

Please sign in to comment.