diff -r ecc40aa58e19 -r 6a548cbb0f7e app/soc/views/helper/lists.py --- a/app/soc/views/helper/lists.py Thu Mar 12 23:05:40 2009 +0000 +++ b/app/soc/views/helper/lists.py Fri Mar 13 00:12:42 2009 +0000 @@ -161,7 +161,7 @@ if more: del data[limit:] - newest = next = prev = '' + newest = next = prev = export_link ='' get_args = request.GET offset_and_limits = {} @@ -170,9 +170,10 @@ if key.startswith('offset_') or key.startswith('limit_'): offset_and_limits[key] = value - offset_and_limits['export'] = idx - export_link = generateLinkFromGetArgs(request, offset_and_limits) - del offset_and_limits['export'] + if params.get('list_key_order'): + offset_and_limits['export'] = idx + export_link = generateLinkFromGetArgs(request, offset_and_limits) + del offset_and_limits['export'] if more: offset_and_limits[offset_key] = offset+limit