Browse Source

fix: command search input error

pull/14146/head
wangruidong 2 months ago committed by Bryan
parent
commit
b042f00688
  1. 7
      apps/common/plugins/es.py

7
apps/common/plugins/es.py

@ -409,8 +409,13 @@ class QuerySet(DJQuerySet):
if not filter_calls:
return {}
names, multi_args, multi_kwargs = zip(*filter_calls)
args = {
key: value
for arg in multi_args if arg
for key, value in arg[0].children
}
kwargs = reduce(lambda x, y: {**x, **y}, multi_kwargs, {})
kwargs.update(args)
striped_kwargs = {}
for k, v in kwargs.items():
k = k.replace('__exact', '')

Loading…
Cancel
Save