Racepicks: Sort fetched raceresults

This commit is contained in:
2025-01-29 00:30:18 +01:00
parent 5bf47b9523
commit 7061aa4976

View File

@ -47,7 +47,7 @@ export const load: PageServerLoad = async ({ fetch, locals }) => {
const fetch_raceresults = async (): Promise<RaceResult[]> => {
// Don't expand races/pxxs/dnfs since we already fetched those
const raceresults: RaceResult[] = await locals.pb.collection("raceresults").getFullList();
const raceresults: RaceResult[] = await locals.pb.collection("raceresultsdesc").getFullList();
return raceresults;
};