Sort episodes by column beneath their parents
This commit is contained in:
parent
69918c2587
commit
2248d7b24e
2 changed files with 4 additions and 4 deletions
|
|
@ -201,8 +201,8 @@ namespace LibationWinForms.GridView
|
|||
{
|
||||
var pIndex = itemsList.IndexOf(parent);
|
||||
|
||||
//children should always be sorted by series index.
|
||||
foreach (var c in children.Where(c => c.Parent == parent).OrderBy(c => c.SeriesIndex))
|
||||
//children are sorted beneath their series parent
|
||||
foreach (var c in children.Where(c => c.Parent == parent).OrderBy(c => c, Comparer))
|
||||
itemsList.Insert(++pIndex, c);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue