Browse Source

Merge pull request #225 from lukaskral/issue_214

#214 - Pagination is not updated when filter is used
文翼 11 years ago
parent
commit
cfc030f7ab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -670,7 +670,7 @@
             $first, $pre,
             $next, $last,
             $number,
-            data = this.searchText ? this.data : this.options.data;
+            data = this.getData();
 
         if (this.options.sidePagination !== 'server') {
             this.options.totalRows = data.length;