From fb61926844179372ba78c2d46871c6e031c6fada Mon Sep 17 00:00:00 2001 From: Matthias Frey Date: Mon, 9 Sep 2024 15:27:30 +0200 Subject: [PATCH] fix: show managed dns records ManagedRecordListView --- netbox_dns/views/record.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox_dns/views/record.py b/netbox_dns/views/record.py index 1086cde7..bd957ad1 100644 --- a/netbox_dns/views/record.py +++ b/netbox_dns/views/record.py @@ -39,7 +39,7 @@ class RecordListView(generic.ObjectListView): class ManagedRecordListView(generic.ObjectListView): - queryset = Record.objects.prefetch_related("ipam_ip_address", "address_record") + queryset = Record.objects.filter(managed=True).prefetch_related("ipam_ip_address", "address_record") filterset = RecordFilterSet filterset_form = RecordFilterForm table = ManagedRecordTable