Skip to content

Commit

Permalink
Fix typo in filtersets.py
Browse files Browse the repository at this point in the history
fix typo which causing exception `Cannot resolve keyword 'description_icontains' into field`
  • Loading branch information
ix64 authored and jeremystretch committed Dec 28, 2023
1 parent 46b933a commit 359c0cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/dcim/filtersets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@ def search(self, queryset, name, value):
Q(serial__icontains=value.strip()) |
Q(inventoryitems__serial__icontains=value.strip()) |
Q(asset_tag__icontains=value.strip()) |
Q(description_icontains=value.strip()) |
Q(description__icontains=value.strip()) |
Q(comments__icontains=value) |
Q(primary_ip4__address__startswith=value) |
Q(primary_ip6__address__startswith=value)
Expand Down

0 comments on commit 359c0cf

Please sign in to comment.