Skip to content

Comments

Filter unpublished events in EventListAPIView#135

Open
bilibilistack wants to merge 1 commit intomainfrom
issue-131-Upcoming_events_list_would_leak_unpublished_events
Open

Filter unpublished events in EventListAPIView#135
bilibilistack wants to merge 1 commit intomainfrom
issue-131-Upcoming_events_list_would_leak_unpublished_events

Conversation

@bilibilistack
Copy link
Collaborator

@bilibilistack bilibilistack commented Feb 21, 2026

Change Summary

#131
image
Add filter logic to display results of Eventslist, only events after the publicationDate could be fetched from the API and displayed on the page.

  • Updated the queryset in get_queryset (in server/game_dev/views.py) to filter events by publicationDate, showing only those that have already been published.

Change Form

Fill this up (NA if not available). If a certain criteria is not met, can you please give a reason.

  • The pull request title has an issue number
  • The change works by "Smoke testing" or quick testing
  • The change has tests
  • The change has documentation

Other Information

[Is there anything in particular in the review that I should be aware of?]

Related issue

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upcoming events list would leak unpublished events

1 participant