Browse Source

Fix search bug after reorder columns (#4443)

文翼 6 years ago
parent
commit
e70f6e106a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/extensions/reorder-columns/bootstrap-table-reorder-columns.js

+ 2 - 1
src/extensions/reorder-columns/bootstrap-table-reorder-columns.js

@@ -167,9 +167,10 @@ BootstrapTable.prototype.makeRowsReorderable = function () {
       that.header.formatters = formatters
       that.initHeader()
       that.initToolbar()
+      that.initSearchText()
       that.initBody()
       that.resetView()
       that.trigger('reorder-column', ths)
     }
   })
-}
+}