Skip to content

Commit 98ebfad

Browse files
Merge pull request #6902 from Countly/fix-allow-changing-datatable-per-row-24.05
[Fix] Allow changing users widget table per row value
2 parents 60f8035 + 3085600 commit 98ebfad

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
## Version 24.05.X
22
Enterprise Fixes:
3-
- [surveys] Handle multiple survey submission from same user based on survey visibility
43
- [concurrent_users] Fix alert threshold comparison
4+
- [surveys] Handle multiple survey submission from same user based on survey visibility
5+
- [users] Set correct users widget table rows amount according to selected setting
56

67

78
## Version 24.05.45

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
@@ -1046,4 +1050,4 @@
10461050
'</div>\n'
10471051
}));
10481052

1049-
}(window.countlyVue = window.countlyVue || {}, jQuery));
1053+
}(window.countlyVue = window.countlyVue || {}, jQuery));

0 commit comments

Comments
 (0)