@mozaic-ds/vue 0.42.0-beta.3 → 0.42.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mozaic-vue.adeo.umd.js +11 -11
- package/dist/mozaic-vue.adeo.umd.js.map +1 -1
- package/dist/mozaic-vue.common.js +11 -11
- package/dist/mozaic-vue.common.js.map +1 -1
- package/dist/mozaic-vue.umd.js +11 -11
- package/dist/mozaic-vue.umd.js.map +1 -1
- package/dist/mozaic-vue.umd.min.js +1 -1
- package/dist/mozaic-vue.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/datatable/MDataTable.vue +3 -2
package/package.json
CHANGED
|
@@ -207,9 +207,9 @@ function buildOptions(
|
|
|
207
207
|
pagerValue,
|
|
208
208
|
pagingIndex,
|
|
209
209
|
pagingSize,
|
|
210
|
-
|
|
210
|
+
sortedColumns
|
|
211
211
|
) {
|
|
212
|
-
const columnSorters =
|
|
212
|
+
const columnSorters = sortedColumns.reduce(
|
|
213
213
|
(acc, header) => ({
|
|
214
214
|
...acc,
|
|
215
215
|
[header.sortFieldExpr ?? header.dataFieldExpr]: header.sortOrder,
|
|
@@ -578,6 +578,7 @@ export default {
|
|
|
578
578
|
try {
|
|
579
579
|
const options = buildOptions(
|
|
580
580
|
this.pagingOptions.enabled,
|
|
581
|
+
this.pagingOptions.totalPage,
|
|
581
582
|
this.getPageValue,
|
|
582
583
|
this.getPagingIndex,
|
|
583
584
|
this.getPagingSize,
|