Filtered log views

This commit is contained in:
Rami Winestock
2023-12-13 17:40:51 +02:00
parent 80deae99d6
commit dbd78e5e03
19 changed files with 627 additions and 137 deletions

View File

@@ -14,12 +14,6 @@ let TableBody = Mn.CollectionView.extend({
this.listenTo(this.options, 'change:page', this.updatePage);
},
setPage: function (page) {
this.page = page;
this.updatePage();
this.render();
},
updatePage: function () {
let models = this.collection.models.slice((this.page - 1) * this.perPage, this.page * this.perPage);
this.collection.reset(models);