Browse Source

Merge pull request #6317 from wenzhixin/fix/5549

Added missing sort for customSearch functions
文翼 3 years ago
parent
commit
da7b43013a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/bootstrap-table.js

+ 2 - 0
src/bootstrap-table.js

@@ -965,6 +965,8 @@ class BootstrapTable {
         if (this.options.sortReset) {
           this.unsortedData = [...this.data]
         }
+
+        this.initSort()
         return
       }