ソースを参照

Merge pull request #6417 from marceloverdijk/6401_2

Fixes resetting the page number to 1 when searching and cookies enabled
Dustin Utecht 3 年 前
コミット
1a1c5cda67
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -965,7 +965,7 @@ class BootstrapTable {
       }
     }
 
-    if (!firedByInitSearchText && !this.options.cookie) {
+    if (!firedByInitSearchText) {
       this.options.pageNumber = 1
     }
     this.initSearch()