Commit 1f0ebe3f3870db4c092dfdf8c616da8ed24bb164
1 parent
2931665f
Exists in
master
and in
9 other branches
Fixing paginate using search
Signed-off-by: Macartur Sousa <macartur.sc@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/colab-spb-theme-plugin/colab_spb_theme/templates/search/search.html
... | ... | @@ -107,7 +107,7 @@ |
107 | 107 | {% if page.has_previous %} |
108 | 108 | {% if page.previous_page_number > 1 %} |
109 | 109 | <li> |
110 | - <a href="{% append_to_get page=page.previous_page_number|add:-2 %}">{{ page.number|add:-2 }}</a> | |
110 | + <a href="{% append_to_get page=page.previous_page_number|add:-1 %}">{{ page.number|add:-2 }}</a> | |
111 | 111 | </li> |
112 | 112 | {% endif %} |
113 | 113 | <li> | ... | ... |