Support album-based photo lookup & routing

This commit is contained in:
itsfinniii
2026-03-15 22:16:07 +01:00
parent 21d5ba23a4
commit 6a14aca8ff
4 changed files with 28 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
query getPhotos {
Photo_Albums(sort: ["-start_date", "-date_created"], filter: { status: { _eq: "published" }, url: { _eq: "/mirai-nexus-2026" }, category: { Photo_Categories_id: { status: { _eq: "published" } } } }) {
query getPhotos($albumUrl: String!) {
Photo_Albums(sort: ["-start_date", "-date_created"], filter: { status: { _eq: "published" }, url: { _eq: $albumUrl }, category: { Photo_Categories_id: { status: { _eq: "published" } } } }) {
id,
date_created,
date_updated,