fix: sort Credits locations alphabetically

This commit is contained in:
2024-08-08 11:58:26 +02:00
parent a98bec7801
commit 3219cff2b9

View File

@@ -13,8 +13,8 @@ export const load = async ({ setHeaders }) => {
credit (filter: { status: { _eq: "published" }}) {
name
website
location {
location_id (filter: { status: { _eq: "published" }}) {
location (sort: "location_id.slug") {
location_id (filter: { status: { _eq: "published" }}, sort: ["slug"]) {
name
slug
country {