Skip to content

feat(fs): Add pagination support and enhance response structure#9429

Merged
okatu-loli merged 1 commit intoAlistGo:mainfrom
okatu-loli:feat/support-list-pagination
Mar 6, 2026
Merged

feat(fs): Add pagination support and enhance response structure#9429
okatu-loli merged 1 commit intoAlistGo:mainfrom
okatu-loli:feat/support-list-pagination

Conversation

@okatu-loli
Copy link
Copy Markdown
Collaborator

@okatu-loli okatu-loli commented Feb 20, 2026

fix: #9412 #9428

frontend commit: AlistGo/alist-web@3501860

- Introduced new pagination fields: `page`, `per_page`, `has_more`, and `pages_total` in `FsListResp`
- Added `normalizeListPage` and `calcPagesTotal` for effective pagination handling
- Updated default and max page size values; implemented validations for page parameters
- Refactored `FsList` handler to include paginated responses and filtered totals
- Adjusted default page size in site settings from 30 to 50
@okatu-loli okatu-loli merged commit 225a675 into AlistGo:main Mar 6, 2026
12 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.

设置每页显示条目数量

3 participants