Commit e6a9ee62 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fixed passing of scroll parameters.

parent 7b6d482b
......@@ -550,8 +550,7 @@ class SearchRequest:
else:
search = search.sort('-%s' % order_by_quantity.elastic_field)
search.params(**kwargs)
for hit in search.scan():
for hit in search.params(**kwargs).scan():
yield hit.to_dict()
def execute_paginated(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment