simple-web-app

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 3670d8c8fc8766da2d5defc2f98ed46242ccc92a
parent 389266339ca3563372ef75815c77a5a3b6291ef7
Author: Silas Brack <silasbrack@gmail.com>
Date:   Fri,  3 Oct 2025 12:51:28 +0200

fix: load more after filtering

Diffstat:
Msrc/simple_web_app/templates/load_more.html | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/simple_web_app/templates/load_more.html b/src/simple_web_app/templates/load_more.html @@ -1 +1 @@ -<button id="load-more-btn" {% if oob %}hx-swap-oob="true"{% endif %} hx-target="#news-cards" hx-swap="beforeend" hx-get="/?category-id={{ category_id }}&page={{ page + 1 }}&current_time={{ current_time }}" preload class="secondary">Load more</button> +<button id="load-more-btn" {% if oob %}hx-swap-oob="true"{% endif %} hx-target="#news-cards" hx-swap="beforeend" hx-get="/?page={{ page + 1 }}&current_time={{ current_time }}{% if category_id %}&category-id={{ category_id }}{% endif %}" preload class="secondary">Load more</button>