diff --git a/fulfil_client/client.py b/fulfil_client/client.py index 67c85b8..35a90e6 100755 --- a/fulfil_client/client.py +++ b/fulfil_client/client.py @@ -427,7 +427,7 @@ def search_read_all(self, domain, order, fields, batch_size=500, context = {} # Fetch all the ids first - ids = self.search(domain, offset, limit, None, context=context) + ids = self.search(domain, offset, limit, order, context=context) for sub_ids in chunked(ids, batch_size): for record in self.read(sub_ids, fields, context=context):