Add pagination to subscription browse view #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
/subscriptions/browse/ has no pagination — it uses a hard LIMIT 200 and dumps all results on one page. With active subscriptions this becomes unusable.
Affected code: src/tinyweb/handlers/subscriptions.py — the browse route uses MAX_BROWSE = 200 as a hard limit with no offset or prev/next nav.
Fix: Add the same _paginate / _page_nav pattern used by /pages and /tags. Reuse BROWSE_PER_PAGE = 50 for consistency.
/pages and /tags/ already have pagination — this makes the third browse view consistent with the rest of the app.
Synced from Codeberg issue #3 — opened by @fluffblankie on 2026-07-04.