|
@@ -1392,9 +1392,10 @@
|
|
|
order: params.sortOrder
|
|
order: params.sortOrder
|
|
|
};
|
|
};
|
|
|
if (this.options.pagination) {
|
|
if (this.options.pagination) {
|
|
|
- params.limit = this.options.pageSize === this.options.formatAllRows() ? this.options.totalRows : this.options.pageSize;
|
|
|
|
|
- params.offset = (this.options.pageSize === this.options.formatAllRows() ? this.options.totalRows : this.options.pageSize)
|
|
|
|
|
- * (this.options.pageNumber - 1);
|
|
|
|
|
|
|
+ params.limit = this.options.pageSize === this.options.formatAllRows() ?
|
|
|
|
|
+ this.options.totalRows : this.options.pageSize;
|
|
|
|
|
+ params.offset = this.options.pageSize === this.options.formatAllRows() ?
|
|
|
|
|
+ 0 : this.options.pageSize * (this.options.pageNumber - 1);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
data = calculateObjectValue(this.options, this.options.queryParams, [params], data);
|
|
data = calculateObjectValue(this.options, this.options.queryParams, [params], data);
|