sonarr-repo-only/UI/Missing/Collection.js

10 lines
353 B
JavaScript
Raw Normal View History

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