From d68a25d17f583a249886c5fb244f7a2c92bfed6a Mon Sep 17 00:00:00 2001 From: rimu <3310831+rimu@users.noreply.github.com> Date: Fri, 6 Sep 2024 16:03:20 +1200 Subject: [PATCH] dormant instances are those that are not gone_forever #319 --- app/admin/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}%"))