Lidarr/UI/Missing/MissingCollection.js

10 lines
354 B
JavaScript

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