mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Calendar now using EpisodeResource
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
Reference in New Issue
Block a user