2013-05-02 00:42:30 +02:00
|
|
|
|
"use strict";
|
|
|
|
|
define(['app', 'Series/SeriesModel'], function () {
|
2013-05-21 00:45:16 +02:00
|
|
|
|
NzbDrone.Series.SeriesCollection = Backbone.Collection.extend({
|
2013-03-30 00:28:58 +01:00
|
|
|
|
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-02-14 19:01:30 +01:00
|
|
|
|
});
|
2013-05-02 00:42:30 +02:00
|
|
|
|
});
|