Skip to content

Commit

Permalink
fix #634
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenFang committed Aug 21, 2016
1 parent 422d6f8 commit 7e5a726
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/BootstrapTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,13 @@ class BootstrapTable extends Component {


this.store.search(searchText);

const sortObj = this.store.getSortInfo();

if (sortObj) {
this.store.sort(sortObj.order, sortObj.sortField);
}

let result;
if (this.props.pagination) {
const { sizePerPage } = this.state;
Expand Down

0 comments on commit 7e5a726

Please sign in to comment.