mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Missing doesn't double fetch
This commit is contained in:
parent
9823560ec0
commit
6a3d886588
7 changed files with 12 additions and 18 deletions
|
@ -1,14 +1,15 @@
|
|||
"use strict";
|
||||
define(['app', 'Series/SeriesModel'], function () {
|
||||
NzbDrone.Series.SeriesCollection = Backbone.Collection.extend({
|
||||
NzbDrone.Series.SeriesCollection = Backbone.PageableCollection.extend({
|
||||
url : NzbDrone.Constants.ApiRoot + '/series',
|
||||
model: NzbDrone.Series.SeriesModel,
|
||||
|
||||
defaultSortKey: 'title',
|
||||
defaultSortDir: '-1',
|
||||
mode: 'client',
|
||||
|
||||
comparator: function (model) {
|
||||
return model.get(this.defaultSortKey);
|
||||
state: {
|
||||
sortKey: "title",
|
||||
order: -1,
|
||||
pageSize: 1000000
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue