Multiple versions appearing on Collection pages and Dashboards
Expected behaviour
- The Dashboard should display a list of all collections and the current version of all Books
- Collection pages should display as how a Collection is built and that only has the most recent book version.
Current behaviour
- All book version appear on the Dashboard
- All book version appear on a collection page
Steps to reproduce
Go to Org at: https://ncbi.cloud68.co/organizations/3293395b-7809-4bed-8b84-8bdc6d86f895
See multiple book versions.
See latest feedback from testing on Collection pages in: #1322 (comment 95880)
Implementation
Option 1
- On Dashboard, roll up all versions of the same book into one row
- On Collection manager page, roll up all versions of the same book into one row
Option 2
Keep the functionality as it is and just add a filter that lets the user hide the previous versions
Take into account, for this option: If a book has a high number of versions, this could affect loading performance. This testing should be done to validate the threshold and if necessary make amendments. (Since we already have pagination on both UIs, we expect low effort to resolve any performance issues).
NCBI's priority feedback
Y - need to test the extent of this damage and its repercussions, but this is not a faithful collection list
QA Steps
[To be completed by Coko once dev is done]