]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/utils/pagination.py
OSQA-600, notification templates unicode fixes.
[osqa.git] / forum / utils / pagination.py
index 094a595b13ab1fcc9a9514d9ba30763bec83dca2..382e59e1b63379995534ac5dc0278e4a162ac88e 100644 (file)
@@ -204,14 +204,14 @@ def _paginated(request, objects, context):
         if get_params:
             base_path += "?" + get_params
 
-    url_joiner = "?" in base_path and "&amp" or "?"
+    url_joiner = "?" in base_path and "&" or "?"
 
 
     def get_page():
         object_list = page_obj.object_list
 
-        if hasattr(object_list, 'lazy'):
-            return object_list.lazy()
+        #if hasattr(object_list, 'lazy'):
+        #    return object_list.lazy()
         return object_list
     paginator.page = get_page()