summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2024-11-17 23:24:20 +0100
committerJannis M. Hoffmann <jannis@fehcom.de>2024-11-17 23:24:20 +0100
commitae117909d9f39103e32296325e93fa3c22749350 (patch)
tree489b3233be64c7e745c4ae15c6b825bdd06aab9b
parent83ab9b0b3f26f2a26b8f59737a725119dee7c515 (diff)
keep per_page argument over folder navigation
-rw-r--r--src/jwebmail/templates/_folders.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jwebmail/templates/_folders.html b/src/jwebmail/templates/_folders.html
index 7bee2a2..fc4c21d 100644
--- a/src/jwebmail/templates/_folders.html
+++ b/src/jwebmail/templates/_folders.html
@@ -17,7 +17,7 @@
<div class="navbar-menu" id="navMenu">
<div class=navbar-start>
{% for f in mail_folders if f is ne folder %}
- <a href="{{ url_for('displayheaders', folder=f) }}" class="navbar-item">
+ <a href="{{ url_for('displayheaders', folder=f, per_page=request.args.get('per_page')) }}" class="navbar-item">
{{ f or gettext('Home') }}
</a>
{% endfor %}