summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorPierre-Yves Chibon <pingou@pingoured.fr>2012-04-05 07:41:20 +0200
committerPierre-Yves Chibon <pingou@pingoured.fr>2012-04-05 07:41:20 +0200
commit643b3b8241e24a2a582b2b91c45f93c9e799b7ac (patch)
treef26302dc23fb6d2ffa0289f4064a348e3f916851 /templates
parentb754c3085cee6212a661178c56b3abb85e96f186 (diff)
Fix the search to work properly with the pagination and have nice urls
Diffstat (limited to 'templates')
-rw-r--r--templates/search.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/search.html b/templates/search.html
index af17f3e..f2fa699 100644
--- a/templates/search.html
+++ b/templates/search.html
@@ -21,7 +21,7 @@
<div class="pagination">
<span class="step-links">
{% if threads.has_previous %}
- <a href="?{{ query_string }}&page={{ threads.previous_page_number }}">previous</a>
+ <a href="?page={{ threads.previous_page_number }}">previous</a>
{% endif %}
<span class="current">
@@ -29,7 +29,7 @@
</span>
{% if threads.has_next %}
- <a href="?{{ query_string }}&page={{ threads.next_page_number }}">next</a>
+ <a href="?page={{ threads.next_page_number }}">next</a>
{% endif %}
</span>
</div>