[Library] Select all results, not just those on page 1 #2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Current behaviour
On the Library page, the "Select page" checkbox (
library.html:90-93,#select-all) only checks the boxes of the items visible on the current page (50 per page,LIBRARY_PAGE_SIZE = 50). The bulk-actions form#bulk-form(library.html:96-98) only submits theitem_idschecked on that page toPOST /items/bulk-download(app/main.py:1508). There is no way to select all matching results across multiple pages.Desired behaviour
Be able to select all results matching the current filters, not just the visible page. There should be a clear action (e.g. "Select all N results") that checks all matching items for a bulk operation, regardless of pagination.
Goals
POST /items/bulk-downloadmust be able to reference all selected IDs across pages, not just those on the visible page.window.__setAutoRefreshPausedinapp.js).card-select,selection-toolbar, vanilla JS).[Library] Seleccionar todos los resultados, no solo los de la página 1to [Library] Select all results, not just those on page 1Closing per decision: infinite-scroll pagination (shipped in #8) already loads all items into the visible list, so "select all" now effectively covers every loaded result without a separate bulk "select everything in the DB" control. That scope was riskier (accidental mass operations across the whole library) and not worth it. Marking wontfix-by-design.