Repository navigation
Select all on search results only selects the loaded page, not every result #33602
Closed
GordonMKF
started this conversation in
Feature Request
Replies: 1 comment
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have searched the existing feature requests, both open and closed, to make sure this is not a duplicate request.
The feature
Summary
On the search results page, "Select all" only selects the results that have already been loaded by scrolling. It doesn't select the full result set. For a large search this makes it impractical to add everything to an album, which is the main reason to select all there.
Related
What I found
I tested on v3.4.2. In the web source, the search page loads results in pages as you scroll, and
handleSelectAllselects onlysearchResultAssets, which holds the pages loaded so far.I measured the server side with
POST /api/search/metadata, filtering by country. A search matching 15,363 assets returned all 15,363 at page sizes of 100, 250 and 1000, in 154, 62 and 16 pages. The server returns the full result set, so the limit is only in the web page. A search with 82 results fits in the first page, so Select all works there.Steps to reproduce
Request
Either of these would solve it:
I'm happy to work on a pull request if one of these approaches fits the project.
Projects frikin awesome BTW!
Platform
All reactions