mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-23 04:22:01 -06:00
#9231 make empty search work
This commit is contained in:
parent
d29d265b0a
commit
536bd37d05
@ -80,6 +80,10 @@ class BaseFilterSet(django_filters.FilterSet):
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
def __init__(self, *args, **kwargs):
|
||||||
|
self.base_filters = self.get_filters()
|
||||||
|
super().__init__(*args, **kwargs)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _get_filter_lookup_dict(existing_filter):
|
def _get_filter_lookup_dict(existing_filter):
|
||||||
# Choose the lookup expression map based on the filter type
|
# Choose the lookup expression map based on the filter type
|
||||||
|
Loading…
Reference in New Issue
Block a user