Bump context results size

This commit is contained in:
Mark Veidemanis 2022-08-09 07:20:30 +01:00
parent 703f36751d
commit 3e92d17097
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
2 changed files with 1 additions and 3 deletions

View File

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

View File

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