Sort modlists in the gallery first by working/broken, then by name

This commit is contained in:
Timothy Baldridge 2020-02-08 07:47:56 -07:00
parent 495335899b
commit a9270743e1

View File

@ -80,7 +80,7 @@ namespace Wabbajack.Lib.ModListRegistry
{
}
return metadata;
return metadata.OrderBy(m => (m.ValidationSummary?.HasFailures ?? false ? 1 : 0, m.Title)).ToList();
}
public bool NeedsDownload(string modlistPath)