How can I show in "recent submissions" on Home Page, items from a specific collection on DSpace 7 ?

48 views
Skip to first unread message

Soukaïna Mahboub Mehboub

unread,
May 2, 2025, 6:55:25 AM5/2/25
to DSpace Technical Support

I'm using DSpace 7.6  and would like the "Recent Submissions" section on the home page to display only items from a specific collection (not from the whole repository) or those with a metadata value dc.entity.type = Publication.

i tried to modify discovery.xml but changes are applied to every recent submission (in collection, community main pages, etc).

TIA


Soukaïna

DSpace Technical Support

unread,
May 15, 2025, 5:23:12 PM5/15/25
to DSpace Technical Support
Hello,

You would likely need to manually modify the "ds-recent-item-list" component to perform the exact search you want to perform: 

Specifically, you may need to update the SearchOptions to specify the collection (using the "scope" parameter), and possibly add a "query" parameter to limit the Items to only have that Publication field.  I've not tried this myself, but it seems plausible.  Here's more information on the parameters that are supported by our search endpoint: https://github.com/DSpace/RestContract/blob/main/search-endpoint.md#matching-dspace-objects-search-results

Tim
Reply all
Reply to author
Forward
0 new messages