diff --git a/app/admin/routes.py b/app/admin/routes.py index 34630191..15312b04 100644 --- a/app/admin/routes.py +++ b/app/admin/routes.py @@ -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}%"))