|
@@ -10,7 +10,7 @@ from django.utils.translation import gettext as _
|
|
|
from core.choices import ObjectChangeActionChoices
|
|
from core.choices import ObjectChangeActionChoices
|
|
|
from core.models import ObjectChange
|
|
from core.models import ObjectChange
|
|
|
from extras.choices import CustomFieldFilterLogicChoices
|
|
from extras.choices import CustomFieldFilterLogicChoices
|
|
|
-from extras.filters import TagFilter, TagIDFilter
|
|
|
|
|
|
|
+from extras.filters import TagFilter
|
|
|
from extras.models import CustomField, SavedFilter
|
|
from extras.models import CustomField, SavedFilter
|
|
|
from utilities.constants import (
|
|
from utilities.constants import (
|
|
|
FILTER_CHAR_BASED_LOOKUP_MAP, FILTER_NEGATION_LOOKUP_MAP, FILTER_TREENODE_NEGATION_LOOKUP_MAP,
|
|
FILTER_CHAR_BASED_LOOKUP_MAP, FILTER_NEGATION_LOOKUP_MAP, FILTER_TREENODE_NEGATION_LOOKUP_MAP,
|
|
@@ -286,7 +286,6 @@ class NetBoxModelFilterSet(ChangeLoggedModelFilterSet):
|
|
|
label=_('Search'),
|
|
label=_('Search'),
|
|
|
)
|
|
)
|
|
|
tag = TagFilter()
|
|
tag = TagFilter()
|
|
|
- tag_id = TagIDFilter()
|
|
|
|
|
|
|
|
|
|
def __init__(self, *args, **kwargs):
|
|
def __init__(self, *args, **kwargs):
|
|
|
super().__init__(*args, **kwargs)
|
|
super().__init__(*args, **kwargs)
|