From d134bed756ed4e41c4c4c41ff48fd5c450ca5d54 Mon Sep 17 00:00:00 2001 From: hernani Date: Sat, 10 Apr 2010 22:16:50 +0000 Subject: [PATCH] fix in paginator git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@23 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/views/decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forum/views/decorators.py b/forum/views/decorators.py index 02dd736..da51e1a 100644 --- a/forum/views/decorators.py +++ b/forum/views/decorators.py @@ -41,7 +41,7 @@ def list(paginate, default_page_size): 'has_next': page_obj.has_next(), 'previous': page_obj.previous_page_number(), 'next': page_obj.next_page_number(), - 'base_url' : "%s%ssort=%s" % (base_path, ('?' in base_path) and '&' or '?', sort), + 'base_url' : "%s%ssort=%s&" % (base_path, ('?' in base_path) and '&' or '?', sort), 'pagesize' : pagesize } -- 2.39.5