1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-03-05 11:08:20 +00:00
Sonarr/UI/Series/SeriesCollection.js

21 lines
478 B
JavaScript
Raw Normal View History

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