mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Missing doesn't double fetch
This commit is contained in:
@@ -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
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user