mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-11-24 08:42:19 +02:00
parent
e11e8ad272
commit
32309260b9
@ -36,6 +36,12 @@ var Collection = PageableCollection.extend({
|
||||
},
|
||||
|
||||
sortMappings : {
|
||||
relativePath : {
|
||||
sortValue : function(model, attr, order) {
|
||||
return model.get(attr).toLowerCase();
|
||||
}
|
||||
},
|
||||
|
||||
series : {
|
||||
sortValue : function(model, attr, order) {
|
||||
var series = model.get(attr);
|
||||
@ -71,4 +77,4 @@ var Collection = PageableCollection.extend({
|
||||
|
||||
Collection = AsSortedCollection.call(Collection);
|
||||
|
||||
module.exports = Collection;
|
||||
module.exports = Collection;
|
||||
|
Loading…
Reference in New Issue
Block a user