mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 11:26:56 -08:00
dormant instances are those that are not gone_forever #319
This commit is contained in:
parent
7d276136ed
commit
d68a25d17f
1 changed files with 1 additions and 1 deletions
|
@ -1002,7 +1002,7 @@ def admin_instances_dormant():
|
|||
|
||||
instances = Instance.query.order_by(Instance.domain)
|
||||
|
||||
instances = instances.filter(Instance.dormant == True)
|
||||
instances = instances.filter(Instance.dormant == True, Instance.gone_forever == False)
|
||||
|
||||
if search:
|
||||
instances = instances.filter(Instance.domain.ilike(f"%{search}%"))
|
||||
|
|
Loading…
Reference in a new issue