Skip to content

Commit

Permalink
working except for second query
Browse files Browse the repository at this point in the history
  • Loading branch information
jendiamond committed Jul 3, 2024
1 parent 7f625b3 commit 5555185
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 388 deletions.
22 changes: 0 additions & 22 deletions gql/queries/EventDetail.gql
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#import "../gql/fragments/Image.gql"
#import "../gql/fragments/collections/DefaultFpbWithCardsAndHighlight.gql"
#import "../gql/fragments/collections/ExhibitionsAndCollectionsFpb.gql"

query FTVADetail($slug: [String!]) {
entry(section: "ftvaEvent", slug: $slug) {
Expand Down Expand Up @@ -82,26 +80,6 @@ query FTVADetail($slug: [String!]) {
}
}
}

categorySeries: entry(
section: "ftvaEventSeries"
relatedToEntries: {section: "ftvaEvent", slug: $slug}) {
... on ftvaEventSeries_eventSeries_Entry {
id
ftvaEvent {
... on ftvaEvent_ftvaEvent_Entry {
id
title
startDate: startDateWithTime @formatDateTime(format: "Y-m-d", timezone: "America/Los_Angeles")
startTime: startDateWithTime @formatDateTime(format: "TH:i:s", timezone: "America/Los_Angeles")

ftvaImage {
...Image
}
}
}
}
}
}

fragment Image on AssetInterface {
Expand Down
344 changes: 0 additions & 344 deletions gql/queries/EventDetail2.gql

This file was deleted.

Loading

0 comments on commit 5555185

Please sign in to comment.