|
|
@@ -3112,7 +3112,9 @@ class BootstrapTable {
|
|
|
resetSearch (text) {
|
|
|
const $search = Utils.getSearchInput(this)
|
|
|
|
|
|
- $search.val(text || '')
|
|
|
+ const textToUse = text || ''
|
|
|
+ $search.val(textToUse)
|
|
|
+ this.searchText = textToUse
|
|
|
this.onSearch({ currentTarget: $search }, false)
|
|
|
}
|
|
|
|