use correct limit for paging harvest listing

This commit is contained in:
kindly 2013-06-26 11:14:38 +01:00
parent 584c340583
commit 6540726c47
1 changed files with 1 additions and 1 deletions

View File

@ -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,
}