Skip to content

Commit

Permalink
Merge pull request #395 from freym/show_only_managed_records
Browse files Browse the repository at this point in the history
fix: show managed dns records ManagedRecordListView
  • Loading branch information
peteeckel authored Sep 9, 2024
2 parents 2e6810d + fb61926 commit 96f28ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox_dns/views/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 96f28ab

Please sign in to comment.