mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-04 06:06:19 +01:00
Fix timer query, Corp is not nullable
This commit is contained in:
@@ -110,7 +110,7 @@ def dashboard_timers(request):
|
||||
timers = Timer.objects.select_related(
|
||||
'eve_character'
|
||||
).filter(
|
||||
(Q(eve_corp__isnull=True) | Q(eve_corp=corp)),
|
||||
(Q(corp_timer=True) & Q(eve_corp=corp)) | Q(corp_timer=False),
|
||||
eve_time__gte=timezone.now()
|
||||
)[:5]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user