mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-15 19:52:52 -06:00
Fix typo in search query
This commit is contained in:
parent
ce166b12ce
commit
a61e7e7c04
@ -103,7 +103,7 @@ class CachedValueSearchBackend(SearchBackend):
|
||||
# Partial string matches are valid only on string values
|
||||
query_filter &= Q(type=FieldTypes.STRING)
|
||||
if object_types:
|
||||
query_filter &= Q(object_typeo__in=object_types)
|
||||
query_filter &= Q(object_type__in=object_types)
|
||||
|
||||
if lookup == LookupTypes.PARTIAL:
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user