From: Konstantinos Koukas <contact@koukas.org>
---
Search pagination links do not contain the query.
The search stops once either button is clicked.
themes/alps/messages-header.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/themes/alps/messages-header.html b/themes/alps/messages-header.html
index df70e06..2c68a2e 100644
--- a/themes/alps/messages-header.html
@@ -42,10 +42,10 @@
{{if or (ge .PrevPage 0) (ge .NextPage 0) }}
<div class="actions-pagination">
{{if ge .PrevPage 0}}
- <a href="?page={{.PrevPage}}" class="button-link">«</a>
+ <a href="?page={{.PrevPage}}{{ if .Query }}&query={{.Query}}{{ end }}" class="button-link">«</a>
{{end}}
{{if ge .NextPage 0}}
- <a href="?page={{.NextPage}}" class="button-link">»</a>
+ <a href="?page={{.NextPage}}{{ if .Query }}&query={{.Query}}{{ end }}" class="button-link">»</a>
{{end}}
</div>
{{ end }}
--
2.38.5