mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-26 09:16:10 -06:00
Fix typo in search query
This commit is contained in:
parent
111dbefe83
commit
e93f592e65
@ -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