mirror of https://github.com/ppy/osu
Add note about using `ExceptBy` once it's available
This commit is contained in:
parent
ce5aacb760
commit
ee6f036c44
|
@ -180,6 +180,8 @@ private void onSearchFinished(BeatmapListingFilterControl.SearchResult searchRes
|
|||
// new results may contain beatmaps from a previous page,
|
||||
// this is dodgy but matches web behaviour for now.
|
||||
// see: https://github.com/ppy/osu-web/issues/9270
|
||||
// todo: replace custom equality compraer with ExceptBy in net6.0
|
||||
// newCards = newCards.ExceptBy(foundContent.Select(c => c.BeatmapSet.OnlineID), c => c.BeatmapSet.OnlineID);
|
||||
newCards = newCards.Except(foundContent, BeatmapCardEqualityComparer.Default);
|
||||
|
||||
panelLoadTask = LoadComponentsAsync(newCards, loaded =>
|
||||
|
|
Loading…
Reference in New Issue