Sonarr/UI/Missing/MissingCollection.js

10 lines
354 B
JavaScript
Raw Normal View History

"use strict";
define(['app', 'Missing/MissingModel'], function () {
2013-03-21 03:02:57 +00:00
NzbDrone.Missing.MissingCollection = Backbone.Collection.extend({
url : NzbDrone.Constants.ApiRoot + '/missing',
model : NzbDrone.Missing.MissingModel,
comparator: function (model) {
2013-03-21 03:02:57 +00:00
return model.get('airDate');
}
});
});