Skip to content

Commit

Permalink
Limit tenders batch
Browse files Browse the repository at this point in the history
  • Loading branch information
kroman0 committed Mar 7, 2016
1 parent a835c7a commit d99b772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openprocurement/api/views/tender.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def get(self):
if limit:
params['limit'] = limit
pparams['limit'] = limit
limit = int(limit) if limit.isdigit() and int(limit) > 0 else 100
limit = int(limit) if limit.isdigit() and 100 >= int(limit) > 0 else 100
descending = bool(self.request.params.get('descending'))
offset = self.request.params.get('offset', '')
if descending:
Expand Down

0 comments on commit d99b772

Please sign in to comment.