diff options
| author | Pierre-Yves Chibon <pingou@pingoured.fr> | 2012-04-05 07:41:20 +0200 |
|---|---|---|
| committer | Pierre-Yves Chibon <pingou@pingoured.fr> | 2012-04-05 07:41:20 +0200 |
| commit | 643b3b8241e24a2a582b2b91c45f93c9e799b7ac (patch) | |
| tree | f26302dc23fb6d2ffa0289f4064a348e3f916851 /templates | |
| parent | b754c3085cee6212a661178c56b3abb85e96f186 (diff) | |
Fix the search to work properly with the pagination and have nice urls
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/search.html | 4 |
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> |
