API: Allow filtering subevents by is_public (#4544)

This commit is contained in:
Mira
2024-10-23 16:42:22 +02:00
committed by GitHub
parent 19175258fd
commit 401218b0a3
2 changed files with 3 additions and 1 deletions

View File

@@ -371,7 +371,7 @@ with scopes_disabled():
class Meta:
model = SubEvent
fields = ['active', 'event__live']
fields = ['is_public', 'active', 'event__live']
def ends_after_qs(self, queryset, name, value):
expr = Q(