mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixes #7417: Prevent exception when filtering objects list by invalid tag
This commit is contained in:
@@ -398,6 +398,9 @@ def applied_filters(form, query_params):
|
||||
|
||||
applied_filters = []
|
||||
for filter_name in form.changed_data:
|
||||
if filter_name not in form.cleaned_data:
|
||||
continue
|
||||
|
||||
querydict = query_params.copy()
|
||||
if filter_name not in querydict:
|
||||
continue
|
||||
|
Reference in New Issue
Block a user