Speedup alert group search
This commit is contained in:
parent
9ebf20c488
commit
5e297847ae
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ class AlertGroupQuerySet(models.QuerySet):
|
|||
)
|
||||
except IntegrityError:
|
||||
try:
|
||||
return self.get(**search_params, is_open_for_grouping=True), False
|
||||
return self.get(**search_params, is_open_for_grouping__isnull=False), False
|
||||
except self.model.DoesNotExist:
|
||||
pass
|
||||
raise
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue