1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #8838: Fix FieldError exception during global search

This commit is contained in:
jeremystretch
2022-03-14 13:55:35 -04:00
parent 93527d892b
commit f2079de2cb
2 changed files with 1 additions and 1 deletions

View File

@ -147,6 +147,7 @@ Where it is desired to limit the range of available VLANs within a group, users
### Bug Fixes (From Beta2)
* [#8838](https://github.com/netbox-community/netbox/issues/8838) - Fix FieldError exception during global search
* [#8845](https://github.com/netbox-community/netbox/issues/8845) - Correct default ASN formatting in table
* [#8869](https://github.com/netbox-community/netbox/issues/8869) - Fix NoReverseMatch exception when displaying tag w/assignments

View File

@ -160,7 +160,6 @@ class SiteFilterSet(NetBoxModelFilterSet, TenancyFilterSet):
Q(comments__icontains=value)
)
try:
qs_filter |= Q(asn=int(value.strip()))
qs_filter |= Q(asns__asn=int(value.strip()))
except ValueError:
pass