1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-01-17 10:45:49 +02:00
Sonarr/UI/Series/SeriesCollection.js

17 lines
417 B
JavaScript
Raw Normal View History

2013-05-01 15:42:30 -07:00
"use strict";
define(['app', 'Series/SeriesModel'], function () {
NzbDrone.Series.SeriesCollection = Backbone.Collection.extend({
url : NzbDrone.Constants.ApiRoot + '/series',
2013-05-02 00:09:35 -07:00
model: NzbDrone.Series.SeriesModel,
comparator: function(model) {
return model.get('title');
},
2013-05-02 00:09:35 -07:00
2013-05-02 17:25:51 -07:00
state: {
sortKey: "title",
order: -1
2013-05-02 00:09:35 -07:00
}
});
2013-05-01 15:42:30 -07:00
});