From: Michael Tremer Date: Fri, 27 Feb 2026 11:32:32 +0000 (+0000) Subject: lists: Only export blocked domains X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87645412d6d0c7315e585e3726498fd034a58587;p=dbl.git lists: Only export blocked domains Signed-off-by: Michael Tremer --- diff --git a/src/dbl/lists.py b/src/dbl/lists.py index df7e139..cbe7308 100644 --- a/src/dbl/lists.py +++ b/src/dbl/lists.py @@ -286,6 +286,9 @@ class List(sqlmodel.SQLModel, database.BackendMixin, table=True): # Only fetch domains from this list domains.Domain.list == self, + # Only get the blocked domains + domains.Domain.block == True, + # Domains cannot be removed domains.Domain.removed_at == None,