2013-03-29 18:37:10 +00:00
|
|
|
|
"use strict";
|
|
|
|
|
define(['app', 'Missing/MissingModel'], 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',
|
|
|
|
|
model : NzbDrone.Missing.MissingModel,
|
|
|
|
|
comparator: function (model) {
|
2013-03-21 03:02:57 +00:00
|
|
|
|
return model.get('airDate');
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|