mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-29 03:56:38 +00:00
New: Ensure folders are sorted alphabetically when importing
Closes #294
This commit is contained in:
@@ -160,7 +160,7 @@ namespace NzbDrone.Core.RootFolders
|
||||
results.RemoveAll(x => setToRemove.Contains(new DirectoryInfo(x.Path.ToLowerInvariant()).Name));
|
||||
|
||||
_logger.Debug("{0} unmapped folders detected.", results.Count);
|
||||
return results;
|
||||
return results.OrderBy(u => u.Name, StringComparer.InvariantCultureIgnoreCase).ToList();
|
||||
}
|
||||
|
||||
public RootFolder Get(int id)
|
||||
|
||||
Reference in New Issue
Block a user