Skip to content

Commit a6530f7

Browse files
committed
fix: sending real result size
1 parent 681a388 commit a6530f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cumulus_lambda_functions/lib/uds_db/granules_db_index.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ def dsl_search(self, tenant: str, tenant_venue: str, search_dsl: dict):
262262
return {
263263
'hits': {
264264
"total": {
265-
"value": len(result)
265+
"value": self.__es.get_result_size(result),
266266
},
267267
'hits': result
268268
}

0 commit comments

Comments
 (0)