Skip to content

sorting and paging mean one list - #30

Merged
pfefferle merged 3 commits into
mainfrom
feat/per-list-sorting
Sep 28, 2026
Merged

pfefferle merged 3 commits into
mainfrom
feat/per-list-sorting

Conversation

@pfefferle

Copy link
Copy Markdown
Owner

Sorting and paging were plain query parameters, so they belonged to the page, not to a list: on a page with several blogrolls, sorting one sorted all of them and paging one paged all of them. That is the open point from #2.

Every list has an anchor since 1.2.0, and group already uses it for the subscription files, so the sorting and paging links use the same: ?blockroll-sort=name&group=podcasts#podcasts. A list applies the sorting and the paging only when the query names it. A query that names no list still means every list, so links people shared before this keep working.

Tests for both, and I checked it on a page with two lists: sorting one leaves the other alone, each pager pages its own list, and ?blockroll-sort=name without a group still sorts both.

Fixes the remaining part of #2.

@pfefferle
pfefferle merged commit 895dade into main Sep 28, 2026
4 checks passed
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