From 6540726c47102374dc9c9ad11a0a372dcf54246c Mon Sep 17 00:00:00 2001 From: kindly Date: Wed, 26 Jun 2013 11:14:38 +0100 Subject: [PATCH] use correct limit for paging harvest listing --- ckanext/harvest/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/harvest/helpers.py b/ckanext/harvest/helpers.py index 5c16481..4c7dfb6 100644 --- a/ckanext/harvest/helpers.py +++ b/ckanext/harvest/helpers.py @@ -21,7 +21,7 @@ def package_list_for_source(source_id): fq = 'harvest_source_id:{0}'.format(source_id) search_dict = { 'fq' : fq, - 'rows': 10, + 'rows': limit, 'sort': 'metadata_modified desc', 'start': (page - 1) * limit, }