diff options
author | Alan Pearce | 2025-03-19 17:41:48 +0100 |
---|---|---|
committer | Alan Pearce | 2025-03-19 17:41:48 +0100 |
commit | 9102aef53c5fb73585359306a518e726a3623731 (patch) | |
tree | ea2b451a527551540f684ece91b18020532e2f1d /internal/components | |
parent | 896d844cac976afd0ee8aa73dd2fb28e15e7ac79 (diff) | |
download | searchix-9102aef53c5fb73585359306a518e726a3623731.tar.lz searchix-9102aef53c5fb73585359306a518e726a3623731.tar.zst searchix-9102aef53c5fb73585359306a518e726a3623731.zip |
fix: wrong pagination links for combined results
Fixes: https://todo.sr.ht/~alanpearce/searchix/15
Diffstat (limited to 'internal/components')
-rw-r--r-- | internal/components/results.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/components/results.go b/internal/components/results.go index 4f07a78..58fa5ee 100644 --- a/internal/components/results.go +++ b/internal/components/results.go @@ -45,6 +45,7 @@ func Results(r ResultData) g.Node { Role("status"), g.Textf("%d results", r.Results.Total), ), + g.Text(" "), g.If(r.Next != r.Prev && r.Results.Total < config.MaxResultsShowAll, A(Href(r.All), g.Text("Show All")), ), |