diff --git a/containers/backupchecks/src/templates/main/search.html b/containers/backupchecks/src/templates/main/search.html index f07284e..2cb03fe 100644 --- a/containers/backupchecks/src/templates/main/search.html +++ b/containers/backupchecks/src/templates/main/search.html @@ -13,7 +13,7 @@ {% endif %} {% for section in sections %} -
+
{{ section['title'] }} ({{ section['total'] }}) Open {{ section['title'] }} @@ -57,10 +57,10 @@
{% if section['has_prev'] %} - Previous + Previous {% endif %} {% if section['has_next'] %} - Next + Next {% endif %}
diff --git a/docs/changelog-claude.md b/docs/changelog-claude.md index 253daea..d38bb3c 100644 --- a/docs/changelog-claude.md +++ b/docs/changelog-claude.md @@ -21,6 +21,7 @@ This file documents all changes made to this project via Claude Code. - Changed Daily Jobs search result metadata to include expected run time, success indicator, and run count for the selected day - Changed Daily Jobs search result links to open the same Daily Jobs modal flow via `open_job_id` (instead of only navigating to the overview page) - Changed `docs/technical-notes-codex.md` to include search pagination query params, Daily Jobs modal-open search behavior, and latest successful test-build digest +- Changed search pagination buttons to preserve scroll position by linking back to the active section anchor after page navigation ### Fixed - Fixed `/search` page crash (`TypeError: 'builtin_function_or_method' object is not iterable`) by replacing Jinja dict access from `section.items` to `section['items']` in `templates/main/search.html`