mirror of
https://github.com/ppy/osu
synced 2024-12-16 20:05:41 +00: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
|
||||
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Bindables;
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
using osu.Framework.Graphics.UserInterface;
|
||||
@ -20,9 +21,9 @@ namespace osu.Game.Overlays.BeatmapListing
|
||||
private SearchCategory? lastCategory;
|
||||
private bool? lastHasQuery;
|
||||
|
||||
protected override void LoadComplete()
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
base.LoadComplete();
|
||||
Reset(SearchCategory.Leaderboard, false);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user