diff --git a/src/bootstrap-table.js b/src/bootstrap-table.js index 6b9d02ac1b..99948cf672 100644 --- a/src/bootstrap-table.js +++ b/src/bootstrap-table.js @@ -2045,6 +2045,9 @@ 0 : this.options.pageSize * (this.options.pageNumber - 1); params.limit = this.options.pageSize === this.options.formatAllRows() ? this.options.totalRows : this.options.pageSize; + if (params.limit === 0) { + delete params.limit; + } } }