mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Adding backgrid paginator
This commit is contained in:
parent
00276041ad
commit
6cb6065669
5 changed files with 68 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
"use strict";
|
||||
define(['app'], function () {
|
||||
define(['app', 'Series/EpisodeModel'], function () {
|
||||
NzbDrone.Missing.Collection = Backbone.PageableCollection.extend({
|
||||
url : NzbDrone.Constants.ApiRoot + '/missing',
|
||||
model : NzbDrone.Series.EpisodeModel,
|
||||
|
|
|
@ -64,7 +64,12 @@ define([
|
|||
row : NzbDrone.Missing.Row,
|
||||
columns : columns,
|
||||
collection: this.missingCollection,
|
||||
className : 'table table-hover'
|
||||
className : 'table table-hover',
|
||||
state: {
|
||||
pageSize: 10,
|
||||
sortKey: "airDate",
|
||||
order: 1
|
||||
}
|
||||
}));
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue