Browse Source

Fixed wrong inverted condition

Dustin Utecht 3 years ago
parent
commit
ffb3cf980b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -1958,7 +1958,7 @@ class BootstrapTable {
     if (
     if (
       this.options.search &&
       this.options.search &&
       this.options.sidePagination === 'server' &&
       this.options.sidePagination === 'server' &&
-      this.columns.filter(column => !column.searchable).length
+      this.columns.filter(column => column.searchable).length
     ) {
     ) {
       params.searchable = []
       params.searchable = []