mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Calendar now using EpisodeResource
This commit is contained in:
parent
0da2047ca5
commit
11cef70406
10 changed files with 61 additions and 93 deletions
|
@ -1,8 +1,8 @@
|
|||
"use strict";
|
||||
define(['app', 'Calendar/CalendarModel'], function () {
|
||||
define(['app', 'Series/EpisodeModel'], function () {
|
||||
NzbDrone.Calendar.CalendarCollection = Backbone.Collection.extend({
|
||||
url : NzbDrone.Constants.ApiRoot + '/calendar',
|
||||
model : NzbDrone.Calendar.CalendarModel,
|
||||
model : NzbDrone.Series.EpisodeModel,
|
||||
comparator: function (model) {
|
||||
return model.get('start');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue