mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
Adding backgrid paginator
This commit is contained in:
@@ -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
|
||||
}
|
||||
}));
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user