Skip to content

Commit b9c3c59

Browse files
Merge pull request #6901 from Countly/fix-allow-changing-datatable-per-row-24.10
[Fix] Allow changing users widget table per row value
2 parents ee0fb41 + 5a411e1 commit b9c3c59

File tree

3 files changed

+560
-422
lines changed

3 files changed

+560
-422
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## Version 24.10.xx
2+
Enterprise Fixes:
3+
- [users] Set correct users widget table rows amount according to selected setting
4+
15
## Version 24.10.13
26
Enterprise Fixes:
37
- [nps] Sort widgets by internal name and search by name or internal name
@@ -8,7 +12,6 @@ Features:
812
- [core] Use correct rights validation for loyality
913
- [plugins] Add configuration warning tags to settings UI
1014

11-
1215
## Version 24.10.11
1316
Enterprise Fixes:
1417
- [drill] Fix query for users in drill that leads to severe server slowdown

frontend/express/public/javascripts/countly/vue/components/datatable.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@
4747
preventDefaultSort: {
4848
type: Boolean,
4949
default: false
50+
},
51+
perPage: {
52+
default: 10,
53+
type: Number
5054
}
5155
},
5256
computed: {
@@ -300,7 +304,7 @@
300304
getControlParams: function() {
301305
var defaultState = {
302306
page: 1,
303-
perPage: 10,
307+
perPage: this.perPage,
304308
searchQuery: '',
305309
sort: [],
306310
selectedDynamicCols: false
@@ -1055,4 +1059,4 @@
10551059
'</div>\n'
10561060
}));
10571061

1058-
}(window.countlyVue = window.countlyVue || {}, jQuery));
1062+
}(window.countlyVue = window.countlyVue || {}, jQuery));

0 commit comments

Comments
 (0)