fix for the get action limit patch

This commit is contained in:
blagoja.stojkoski 2020-12-09 18:17:20 +01:00
parent d163ebdcce
commit 87808189ec
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
- if limit is None or limit > max_limit:
- limit = max_limit
+ if limit is None or int(limit) > max_limit:
+ limit = string(max_limit)
+ limit = str(max_limit)
# order_by deprecated in ckan 1.8
# if it is supplied and sort isn't use order_by and raise a warning