aboutsummaryrefslogtreecommitdiffstats
path: root/servo/views
diff options
context:
space:
mode:
Diffstat (limited to 'servo/views')
-rw-r--r--servo/views/note.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/servo/views/note.py b/servo/views/note.py
index 0d0dd27..e406cc1 100644
--- a/servo/views/note.py
+++ b/servo/views/note.py
@@ -346,9 +346,8 @@ def find(request):
results = results.order_by('-created_at')
title = _('Message search')
- notes = paginate(request, page, 10)
- page = request.GET.get("page")
-
+ notes = paginate(request, request.GET.get('page'), 10)
+
return render(request, "notes/find.html", locals())