IQSS / dataverse

Open source research data repository software
http://dataverse.org
Other
882 stars 494 forks source link

Total file search selection in Files Tab #10873

Open stevenferey opened 1 month ago

stevenferey commented 1 month ago

Hello Dataverse team,

What steps does it take to reproduce the issue?

search for files from the Files tab of a dataset and select all the results. Example with this dataset and the "log" search

It is not possible for the user to select all the files resulting from a search, for example with this dataset:

With the "log" search: Capture d’écran du 2024-09-24 10-37-16

I select all the files on the first page (10 files) and Dataverse offers me to select the 11 files corresponding to the search : Capture d’écran du 2024-09-24 10-37-36

When I click on "Select all 11 files in this dataset.", Dataverse selects all the files in the dataset (24 files) and not all the files resulting from the search : Capture d’écran du 2024-09-24 10-37-53

All users

The total selection corresponds to the total results of the search

Which version of Dataverse are you using?

6.0 6.3

pdurbin commented 1 month ago

@stevenferey thanks for reporting this. I'm curious if you can reproduce this in the new React UI. If you don't mind, please try at https://beta.dataverse.org/spa

stevenferey commented 1 month ago

Hello @pdurbin ,

Indeed, the problem is present in the new React UI. The scenario is reproducible with this dataset.

pdurbin commented 1 month ago

Hmm, I tried it on the new React UI (SPA) at https://beta.dataverse.org/spa/datasets?persistentId=doi:10.5072/FK2/0UKSME and it seemed to work fine. It seemed to select only the 12 log files:

Screenshot 2024-09-26 at 3 00 45 PM

If you're pretty sure there's a problem with the SPA please go ahead and open an issue at https://github.com/IQSS/dataverse-frontend

stevenferey commented 1 month ago

Hello @pdurbin,

Absolutely, after retesting, the results are as follows:

All good on the new React UI (SPA) :+1: