4Science / dspace-angular

Angular UI for DSpace and DSpace-CRIS. In the dspace-cris-7 branch you can find the extension to support DSpace-CRIS
BSD 3-Clause "New" or "Revised" License
14 stars 28 forks source link

Thumbnails for search pages don't render #85

Open jorgeltd opened 5 months ago

jorgeltd commented 5 months ago

Describe the bug Running DSpace-CRIS 2023.02.03 When browsing dspace items, the search pages do not render the thumbnails for the items.

To Reproduce Steps to reproduce the behavior:

  1. Add items to DSpace with files
  2. Run the filter-media script
  3. Use DSpace search, for example /search?page=1&configuration=researchoutputs&query=
  4. No thumbnail available for items with files and generated thumbnails in the result search pages
  5. Go to item pages, thumbnails are available for files.

Expected behavior Generated thumbnails for DSpace objects should appear on result search pages.

Possible Fix On my fork, I added the prop [showThumbnails]="true" to https://github.com/4Science/dspace-angular/blob/main-cris/src/app/search-page/search-page.component.html. I am not an angular developer , so no idea if this is the proper fix.