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