2013-03-29 18:37:10 +00:00
|
|
|
|
"use strict";
|
2013-05-01 00:25:33 +00:00
|
|
|
|
define(['app', 'Series/EpisodeModel'], function () {
|
2013-03-21 03:02:57 +00:00
|
|
|
|
NzbDrone.Missing.MissingCollection = Backbone.Collection.extend({
|
2013-03-29 18:37:10 +00:00
|
|
|
|
url : NzbDrone.Constants.ApiRoot + '/missing',
|
2013-05-01 00:25:33 +00:00
|
|
|
|
model : NzbDrone.Series.EpisodeModel,
|
2013-03-29 18:37:10 +00:00
|
|
|
|
comparator: function (model) {
|
2013-03-21 03:02:57 +00:00
|
|
|
|
return model.get('airDate');
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|