~migadu/alps-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH alps-patches v2] themes/alps: fix search pagination links

Details
Message ID
<169096676455.26032.5840816480252163871-0@git.sr.ht>
DKIM signature
missing
Download raw message
Patch: +2 -2
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
+++ 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}}{{ 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
Reply to thread Export thread (mbox)