category ID till 10 updated
This commit is contained in:
@@ -539,7 +539,7 @@ class EventFilterService:
|
||||
) & (Q(start_date__lte=today, end_date__gte=today) | Q(start_date__gt=today))
|
||||
|
||||
# Ensure the category_id is valid and within the specified range (1-8)
|
||||
if 1 <= category_id <= 8:
|
||||
if 1 <= category_id <= 10:
|
||||
events = Event.objects.filter(
|
||||
current_and_future_events_query, category_id=category_id
|
||||
).distinct()
|
||||
|
||||
Reference in New Issue
Block a user