You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A page beyond the last one shows an empty list without pagination; in the trash bin "Empty trash bin" is disabled #3662
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
A page beyond the last one shows an empty list without pagination; in the trash bin "Empty trash bin" is disabled. Cause: packages/web-pkg/src/composables/pagination/usePagination.ts:34-43 doesn't clamp the page; Pagination.vue:3 hides at one page; GenericTrash.vue:13,146 use paginatedResources.
Reproduction Steps
Open a folder with 25 items at 20 per page, page 2, and delete those 5 elsewhere (or open ?page=9).
Or: in a trash bin with 23 items, restore or delete all items on page 2.
Expected Outcome
The last existing page is shown.
Actual Outcome
"No files found" / "This trash bin is empty", no pagination; "Empty trash bin" is disabled while items remain.
Activity