mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user