mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-14 06:50:15 +02:00
Fix timer query, Corp is not nullable
This commit is contained in:
parent
eedf5082fa
commit
3b463e7305
@ -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]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user