Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't fetch old events #44

Open
Pasqat opened this issue Apr 12, 2022 · 5 comments
Open

Can't fetch old events #44

Pasqat opened this issue Apr 12, 2022 · 5 comments

Comments

@Pasqat
Copy link

Pasqat commented Apr 12, 2022

I don't know if I'm missing something but I can't find a way to fetch the past event, but only the future events of the date of fetching

@b00y0h
Copy link

b00y0h commented Jun 8, 2022

same. 👆🏼

@craigwilcox
Copy link
Collaborator

FEATURE REQUEST

Hi @kidunot89,

When we made this originally, we only allowed queries going forward in time. It makes sense to be able to query older events, as well.

A query could take this shape to be sufficient:

query MyQuery {
  events(where: {startDateQuery: {after: {day: 29, month: 6, year: 2022}}, endDateQuery: {before: {day: 10, month: 8, year: 2022}}}) {
    nodes {
      title
      startDate
    }
  }
}

All fields should be available on the older events, including tickets.

I don't believe we made a limitation on getting tickets that were from events in the past, but let's make sure we can have those as well.

Thanks,
Craig

@izzygld
Copy link

izzygld commented Aug 3, 2022

yes pelase.

@Pasqat
Copy link
Author

Pasqat commented Aug 3, 2022

up 👆

@eju1
Copy link

eju1 commented Jan 31, 2023

Is there a work around to this? Even if events are in the past its not good practice for them to simply disappear from the site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants