Skip to content

Commit

Permalink
Merge pull request #8735 from minitriga/issue_8629
Browse files Browse the repository at this point in the history
Add description to tag table search function
  • Loading branch information
jeremystretch authored Feb 25, 2022
2 parents 992f353 + 4863591 commit 3bf90c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/release-notes/version-3.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## v3.1.9 (FUTURE)

### Enhancements

* [#8629](https://github.com/netbox-community/netbox/issues/8629) - Add description to tag table search function

### Bug Fixes

* [#8546](https://github.com/netbox-community/netbox/issues/8546) - Fix bulk import to restrict bridge, parent, and LAG to device interfaces
Expand Down
3 changes: 2 additions & 1 deletion netbox/extras/filtersets.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ def search(self, queryset, name, value):
return queryset
return queryset.filter(
Q(name__icontains=value) |
Q(slug__icontains=value)
Q(slug__icontains=value) |
Q(description__icontains=value)
)

def _content_type(self, queryset, name, values):
Expand Down

0 comments on commit 3bf90c3

Please sign in to comment.