mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:02:53 +08:00
Fix beatmap listing potentially not sorting by relevance when searching via metadata
This commit is contained in:
parent
845bbf55fe
commit
610d2f9dc7
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#nullable disable
|
#nullable disable
|
||||||
|
|
||||||
|
using osu.Framework.Allocation;
|
||||||
using osu.Framework.Bindables;
|
using osu.Framework.Bindables;
|
||||||
using osu.Framework.Graphics.Sprites;
|
using osu.Framework.Graphics.Sprites;
|
||||||
using osu.Framework.Graphics.UserInterface;
|
using osu.Framework.Graphics.UserInterface;
|
||||||
@ -20,9 +21,9 @@ namespace osu.Game.Overlays.BeatmapListing
|
|||||||
private SearchCategory? lastCategory;
|
private SearchCategory? lastCategory;
|
||||||
private bool? lastHasQuery;
|
private bool? lastHasQuery;
|
||||||
|
|
||||||
protected override void LoadComplete()
|
[BackgroundDependencyLoader]
|
||||||
|
private void load()
|
||||||
{
|
{
|
||||||
base.LoadComplete();
|
|
||||||
Reset(SearchCategory.Leaderboard, false);
|
Reset(SearchCategory.Leaderboard, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user