Add pagination to subscription browse view #3

Open
opened 2026-10-23 22:48:24 +00:00 by lichenblankie · 0 comments

/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.

/subscriptions/browse/<id> 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/<tag> already have pagination — this makes the third browse view consistent with the rest of the app. --- *Synced from [Codeberg issue #3](https://codeberg.org/tinyweb/tinyweb/issues/3) — opened by @fluffblankie on 2026-07-04.* <!-- codeberg-issue: 3 -->
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lichenblankie/tinyweb#3
No description provided.