~migadu/alps-devel

alps-patches: themes/alps: fix search pagination links v1 SUPERSEDED

~koukas: 1
 themes/alps: fix search pagination links

 1 files changed, 2 insertions(+), 2 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~migadu/alps-devel/patches/43188/mbox | git am -3
Learn more about email & git

[PATCH alps-patches] themes/alps: fix search pagination links Export this patch

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..b53fe09 100644
--- a/themes/alps/messages-header.html
+++ b/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}}&query={{.Query}}" class="button-link">«</a>
    {{end}}
    {{if ge .NextPage 0}}
      <a href="?page={{.NextPage}}" class="button-link">»</a>
      <a href="?page={{.NextPage}}&query={{.Query}}" class="button-link">»</a>
    {{end}}
  </div>
  {{ end }}
-- 
2.38.5