add automatic country prioritization based on existing releases

This commit is contained in:
jeffvli
2026-02-07 13:36:17 -08:00
parent f43655ed5a
commit c4ecfeedec
6 changed files with 67 additions and 10 deletions
+2
View File
@@ -275,6 +275,7 @@ export const queryKeys: Record<
limit: number | undefined,
mbzArtistId: string,
config?: {
autoCountryPriority: boolean;
excludeReleaseTypes: string[];
prioritizeCountries: string[];
},
@@ -286,6 +287,7 @@ export const queryKeys: Record<
limit,
config
? [
String(config.autoCountryPriority),
[...config.excludeReleaseTypes].sort().join(','),
[...config.prioritizeCountries].sort().join(','),
]