Bump context results size

Mark Veidemanis 2 years ago
parent 703f36751d
commit 3e92d17097
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -346,9 +346,7 @@ def query_results(request, query_params, size=None, annotate=True, custom_query=
query = query_params["query"]
search_query = construct_query(query, size)
else:
print("NO QUERY")
if custom_query:
print("CUSTOM")
search_query = custom_query
if add_bool:
for item in add_bool:

@ -244,7 +244,7 @@ class DrilldownContextModal(APIView):
# return JsonResponse({"success": False})
num = None
index = "main"
size = 10
size = 20
# Check right fields exist
if "net" not in request.data:
return JsonResponse({"success": False})

Loading…
Cancel
Save