Comment for sort/filter ordering
This commit is contained in:
@@ -55,8 +55,10 @@ public class Tab : ITab
|
|||||||
.Select(items => items.TransformAsync(MapItem)),
|
.Select(items => items.TransformAsync(MapItem)),
|
||||||
_itemFilters.Connect().StartWithEmpty().ToCollection(),
|
_itemFilters.Connect().StartWithEmpty().ToCollection(),
|
||||||
(items, filters) =>
|
(items, filters) =>
|
||||||
|
//Note: Dont user Sort before where, as DynamicData cant handle
|
||||||
|
//sort in (so that's if they are before) filters
|
||||||
items
|
items
|
||||||
?.Where(i => filters.All(f => f.Filter(i)))
|
.Where(i => filters.All(f => f.Filter(i)))
|
||||||
.Sort(SortItems())
|
.Sort(SortItems())
|
||||||
),
|
),
|
||||||
CurrentLocation
|
CurrentLocation
|
||||||
|
|||||||
Reference in New Issue
Block a user