1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-01 00:12:30 +01:00
Sonarr/UI/Series/SeriesCollection.js

21 lines
470 B
JavaScript
Raw Normal View History

2013-05-02 00:42:30 +02:00
"use strict";
define(['app', 'Series/SeriesModel'], function () {
NzbDrone.Series.SeriesCollection = Backbone.Collection.extend({
url : NzbDrone.Constants.ApiRoot + '/series',
2013-05-02 09:09:35 +02:00
model: NzbDrone.Series.SeriesModel,
2013-05-03 02:25:51 +02:00
mode: 'client',
2013-05-02 09:09:35 +02:00
2013-05-03 02:25:51 +02:00
state: {
sortKey: "title",
order: -1,
pageSize: 1000000
2013-05-03 08:53:32 +02:00
},
queryParams: {
sortKey: null,
order: null
2013-05-02 09:09:35 +02:00
}
});
2013-05-02 00:42:30 +02:00
});