feat: replace /archive with release-cardinal searchable browser (Phase 9 §8.H)
Retire the three-card overview for a search + medium + genre browser over all releases. Adds q/genre filter params to the api/release paged read path, mirroring the existing api/track/page TrackFilter pattern.
This commit is contained in:
@@ -29,7 +29,9 @@ public class ReleaseClient
|
||||
int page,
|
||||
int pageSize,
|
||||
string? sortColumn = null,
|
||||
bool sortDescending = false)
|
||||
bool sortDescending = false,
|
||||
string? search = null,
|
||||
string? genre = null)
|
||||
{
|
||||
var queryArgs = new Dictionary<string, string?>
|
||||
{
|
||||
@@ -40,6 +42,12 @@ public class ReleaseClient
|
||||
if (!string.IsNullOrEmpty(medium))
|
||||
queryArgs["medium"] = medium;
|
||||
|
||||
if (!string.IsNullOrEmpty(search))
|
||||
queryArgs["q"] = search;
|
||||
|
||||
if (!string.IsNullOrEmpty(genre))
|
||||
queryArgs["genre"] = genre;
|
||||
|
||||
if (!string.IsNullOrEmpty(sortColumn))
|
||||
queryArgs["sortColumn"] = sortColumn;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user