mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-04-27 19:17:01 +00:00
fix: No data found for the carrying organization
This commit is contained in:
parent
c500bb4e4c
commit
57fcebfdd3
@ -341,9 +341,7 @@ class ES(object):
|
|||||||
index['values'] = kwargs[index_in_field]
|
index['values'] = kwargs[index_in_field]
|
||||||
|
|
||||||
for k, v in kwargs.items():
|
for k, v in kwargs.items():
|
||||||
if k in keyword_fields:
|
if k in exact_fields.union(keyword_fields):
|
||||||
exact[k] = v
|
|
||||||
elif k in exact_fields:
|
|
||||||
exact['{}.keyword'.format(k)] = v
|
exact['{}.keyword'.format(k)] = v
|
||||||
elif k in match_fields:
|
elif k in match_fields:
|
||||||
match[k] = v
|
match[k] = v
|
||||||
|
Loading…
Reference in New Issue
Block a user