songs add single song type to filters
This commit is contained in:
@@ -19,6 +19,7 @@ export const load: PageLoad = async ({ url, fetch, depends }) => {
|
||||
filters.globalPercentMin = parsed.data.gpm;
|
||||
if (parsed.data.gpx !== undefined)
|
||||
filters.globalPercentMax = parsed.data.gpx;
|
||||
if (parsed.data.songType) filters.songTypes = [parsed.data.songType];
|
||||
}
|
||||
|
||||
// Client-only DB: on the server `db` is null, so return [] and let hydration re-run load in browser.
|
||||
|
||||
Reference in New Issue
Block a user