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

Filter past events #25

Closed
LBlend opened this issue Mar 3, 2021 · 1 comment
Closed

Filter past events #25

LBlend opened this issue Mar 3, 2021 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@LBlend
Copy link
Member

LBlend commented Mar 3, 2021

The website fetches events in the correct order but doesn't have a filter for past events. This causes the website to not display any new events.

@LBlend LBlend added help wanted Extra attention is needed frontend labels Mar 3, 2021
@LBlend LBlend added this to the Første utlast milestone Mar 3, 2021
@LBlend LBlend added this to To do in Første utkast via automation Mar 3, 2021
@LBlend
Copy link
Member Author

LBlend commented Mar 4, 2021

Tried solving the issue by passing the date as a parameter in the graphql query and filtering it using that variable, however this does not work due to gatsby using graphql at build-time. I will probably have to resort to fetching all events and filtering it with JS. I do not like this approach but it seems like I'm forced to

@LBlend LBlend closed this as completed in 8efb9a9 Mar 13, 2021
Første utkast automation moved this from To do to Done Mar 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
No open projects
Development

No branches or pull requests

1 participant