mirror of
https://github.com/ppy/osu
synced 2025-01-24 06:43:04 +00:00
Update osu!direct categories sorting with web changes
This commit is contained in:
parent
1d1fd91275
commit
e84c79d140
@ -27,24 +27,25 @@ namespace osu.Game.Online.API.Requests
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ReSharper disable once ImpureMethodCallOnReadonlyValueField
|
// ReSharper disable once ImpureMethodCallOnReadonlyValueField
|
||||||
protected override string Target => $@"beatmapsets/search?q={query}&m={ruleset.ID ?? 0}&s={(int)searchCategory}&sort={sortCriteria.ToString().ToLowerInvariant()}_{directionString}";
|
protected override string Target => $@"beatmapsets/search?q={query}&m={ruleset.ID ?? 0}&s={searchCategory.ToString().ToLowerInvariant()}&sort={sortCriteria.ToString().ToLowerInvariant()}_{directionString}";
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum BeatmapSearchCategory
|
public enum BeatmapSearchCategory
|
||||||
{
|
{
|
||||||
Any = 7,
|
Any,
|
||||||
|
|
||||||
[Description("Ranked & Approved")]
|
[Description("Has Leaderboard")]
|
||||||
RankedApproved = 0,
|
Leaderboard,
|
||||||
Qualified = 3,
|
Ranked,
|
||||||
Loved = 8,
|
Qualified,
|
||||||
Favourites = 2,
|
Loved,
|
||||||
|
Favourites,
|
||||||
|
|
||||||
[Description("Pending & WIP")]
|
[Description("Pending & WIP")]
|
||||||
PendingWIP = 4,
|
Pending,
|
||||||
Graveyard = 5,
|
Graveyard,
|
||||||
|
|
||||||
[Description("My Maps")]
|
[Description("My Maps")]
|
||||||
MyMaps = 6,
|
Mine,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user