mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-18 09:42:18 -06:00
Merge branch 'develop' into feature
This commit is contained in:
@@ -64,7 +64,7 @@ class ContactFilterSet(NetBoxModelFilterSet):
|
||||
|
||||
class Meta:
|
||||
model = Contact
|
||||
fields = ['id', 'name', 'title', 'phone', 'email', 'address', 'link']
|
||||
fields = ['id', 'name', 'title', 'phone', 'email', 'address', 'link', 'description']
|
||||
|
||||
def search(self, queryset, name, value):
|
||||
if not value.strip():
|
||||
@@ -76,6 +76,7 @@ class ContactFilterSet(NetBoxModelFilterSet):
|
||||
Q(email__icontains=value) |
|
||||
Q(address__icontains=value) |
|
||||
Q(link__icontains=value) |
|
||||
Q(description__icontains=value) |
|
||||
Q(comments__icontains=value)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user