From 87808189ecc918d19401f978363bcd8b15d16043 Mon Sep 17 00:00:00 2001 From: "blagoja.stojkoski" Date: Wed, 9 Dec 2020 18:17:20 +0100 Subject: [PATCH] fix for the get action limit patch --- images/ckan/2.9/patches/00_get_limit_type_check.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/ckan/2.9/patches/00_get_limit_type_check.patch b/images/ckan/2.9/patches/00_get_limit_type_check.patch index 7fff75b..6adc118 100644 --- a/images/ckan/2.9/patches/00_get_limit_type_check.patch +++ b/images/ckan/2.9/patches/00_get_limit_type_check.patch @@ -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