mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
Pagination for missing is alive!
This commit is contained in:
parent
c9b9d7b956
commit
b4242f9fb2
17 changed files with 235 additions and 22 deletions
|
@ -13,7 +13,8 @@ define([
|
|||
|
||||
regions: {
|
||||
missing: '#x-missing',
|
||||
toolbar: '#x-toolbar'
|
||||
toolbar: '#x-toolbar',
|
||||
pager : '#x-pager'
|
||||
},
|
||||
|
||||
showTable: function () {
|
||||
|
@ -48,6 +49,12 @@ define([
|
|||
editable : false,
|
||||
cell : 'airDate',
|
||||
headerCell: 'nzbDrone'
|
||||
// headerCell: Backgrid.NzbDroneHeaderCell.extend({
|
||||
// initialize: function(options) {
|
||||
// this.constructor.__super__.initialize.apply(this, [options]);
|
||||
// this.direction('descending');
|
||||
// }
|
||||
// })
|
||||
},
|
||||
{
|
||||
name : 'edit',
|
||||
|
@ -66,6 +73,13 @@ define([
|
|||
collection: this.missingCollection,
|
||||
className : 'table table-hover'
|
||||
}));
|
||||
|
||||
this.pager.show(new Backgrid.NzbDronePaginator({
|
||||
columns: columns,
|
||||
collection: this.missingCollection
|
||||
}));
|
||||
|
||||
this.missingCollection.getFirstPage();
|
||||
},
|
||||
|
||||
initialize: function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue