1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-30 15:32:31 +01:00

Fixed: Sorting Manual Import by relative path

Fixes #2313
This commit is contained in:
Mark McDowall 2017-11-30 23:18:02 -08:00
parent e11e8ad272
commit 32309260b9
No known key found for this signature in database
GPG Key ID: D4CEFA9A718052E0

View File

@ -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);