mirror of https://github.com/veops/cmdb.git
fix(api): batch import ci relation
This commit is contained in:
parent
2c12f5fc6f
commit
5ad73366ad
|
@ -17,7 +17,7 @@ def search(query=None,
|
||||||
count=1,
|
count=1,
|
||||||
sort=None,
|
sort=None,
|
||||||
excludes=None,
|
excludes=None,
|
||||||
use_id_filter=True):
|
use_id_filter=False):
|
||||||
if current_app.config.get("USE_ES"):
|
if current_app.config.get("USE_ES"):
|
||||||
s = SearchFromES(query, fl, facet, page, ret_key, count, sort)
|
s = SearchFromES(query, fl, facet, page, ret_key, count, sort)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue