IQSS / dataverse

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

Issue regarding display of number of files in a dataset #8935

Open tguilloteau opened 2 years ago

tguilloteau commented 2 years ago

What steps does it take to reproduce the issue? Considering a dataset (for example : https://dorel.univ-lorraine.fr/dataset.xhtml?persistentId=doi:10.12763/VWKNSA) with more than ten files, the first 10 files are displayed on page 1, and it is then possible to use the paginator to get access to other files ; you get then to page 2,3,4 and so on, depending of the total number of files. If we then want to get a file using the search engine, we get, at the top of the list, the number of files displayed on this page, among the total amount of files for this particular dataset. Example, for a dataset with 17 files, you get :

2308-1

2308-2

pdurbin commented 2 years ago

See also https://groups.google.com/g/dataverse-community/c/OChcEeZadHY/m/ZBNquIxbAQAJ

@tguilloteau thanks for opening this issue!

DS-INRAE commented 9 months ago

@pdurbin Thanks for updating the tags :) Do you know if this has been traced for the single page application front-end ?

pdurbin commented 9 months ago

@DS-INRA I don't know but you're welcome to test it at https://beta.dataverse.org/spa/

DS-INRAE commented 4 months ago

I finally tested it on the SPA, the mechanism with files list "pages" is no longer and therefore this issue could not be reproduced on the SPA :smiley:

Here is a video screenshot for reference :

https://github.com/IQSS/dataverse/assets/46443753/c8778db3-73aa-4ab6-8131-f4e104b43ab4