Skip to content

Comments

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

Open
okatu-loli wants to merge 1 commit intoAlistGo:mainfrom
okatu-loli:feat/support-list-pagination
Open

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

Conversation

@okatu-loli
Copy link
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
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