Skip to content

Commit d0caef3

Browse files
committed
Ordered alphabetically
1 parent 43cfb69 commit d0caef3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/site/src/views/Resources/getResources.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const Resources = z.array(
5050
export const getResources = cache(async (resourceType: string) => {
5151
return Resources.parse(
5252
await client.fetch(
53-
`*[_type == 'resource' && resourceType == '${resourceType}']`,
53+
`*[_type == 'resource' && resourceType == '${resourceType}'] | order(lower(title) asc)`,
5454
),
5555
);
5656
});

0 commit comments

Comments
 (0)