diff --git a/src/UI/ManualImport/ManualImportCollection.js b/src/UI/ManualImport/ManualImportCollection.js index c7cff70f7..b4df7a842 100644 --- a/src/UI/ManualImport/ManualImportCollection.js +++ b/src/UI/ManualImport/ManualImportCollection.js @@ -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; \ No newline at end of file +module.exports = Collection;