Skip to content

Fix first-page defaults and stop pagination links at the last page - #1688

Merged
lovasoa merged 1 commit into
mainfrom
docs-fixes/pagination
Nov 29, 2026
Merged

lovasoa merged 1 commit into
mainfrom
docs-fixes/pagination

Conversation

@lovasoa

@lovasoa lovasoa commented Nov 28, 2026 •

Copy link
Copy Markdown
Collaborator

The pagination tutorial counted album while displaying users, had two SELECTs without a separator, and generated links past the final page. The reference now handles a missing offset and orders rows by id. The tabs example starts on Projects when the URL has no tab.

Tradeoff: These remain SQLite offset-pagination examples for modest data sets; a unique ordering key is required. The fixes run in the current site.

Review: 71_blog_pagination.sql and 70_pagination.sql. Targets main directly. It uses the current site and has no dependency on the Markdown compiler or configuration exporter.

Where to stop: all seven current-site SQL fixes, through #1694, can land before the compiler decision in #1649. The Rust exporter and settings search are last (#1650, #1651).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant