Browse Source

Fix fo #6402 introducing sortResetPage option

Marcel Overdijk 3 years ago
parent
commit
0a447c750a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/bootstrap-table.js

+ 1 - 0
src/bootstrap-table.js

@@ -559,6 +559,7 @@ class BootstrapTable {
 
     if (this.options.pagination && this.options.sortResetPage) {
       this.options.pageNumber = 1
+      this.initPagination()
     }
 
     this.initSort()