mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-11 13:53:28 +00:00
fix: ES the calculated quantity is 0
This commit is contained in:
parent
c9f281e8f7
commit
30e680ad91
@ -346,7 +346,7 @@ class ES(object):
|
|||||||
elif k in match_fields:
|
elif k in match_fields:
|
||||||
match[k] = v
|
match[k] = v
|
||||||
|
|
||||||
args = kwargs.get('search')
|
args = kwargs.get('search', [])
|
||||||
for item in args:
|
for item in args:
|
||||||
for k, v in item.items():
|
for k, v in item.items():
|
||||||
if k in match_fields:
|
if k in match_fields:
|
||||||
|
Loading…
Reference in New Issue
Block a user