Doubt with Browse by dateissued

50 views
Skip to first unread message

Aroldo Rique Júnior

unread,
Apr 9, 2024, 9:21:42 PM4/9/24
to DSpace Technical Support, paulo...@mpf.mp.br
Hello everybody.

Consider the research below. Note that, in the year filter, options from 2024 to 1980 appear, but not all years in that range, even though there are items with dateissued equal to 1982, for example. from 2024 to 2010 all years are shown. From 2010 to 1990, only every 5 years and, after that, every 10 years.

Is it possible to configure this filter so that all years between 2024 and 1980 are listed?

My dspace.cfg has the following configuration:
webui.browse.index.1 = dateissued:item:dateissued


image.png

Aroldo


























DSpace Technical Support

unread,
Apr 22, 2024, 6:09:55 PM4/22/24
to DSpace Technical Support
Hi Aroldo,

That appears to be in the design of the Browse by Date code.  It looks like the code is trying to avoid an extremely long list of years...and so it jumps by 5 or 10 years as the list gets longer.  Here's the method in the code that does that: https://github.com/DSpace/dspace-angular/blob/main/src/app/browse-by/browse-by-date/browse-by-date.component.ts#L129-L139

At this time this is not configurable. But, we also accept code improvements/enhancements in the form of Pull Requests.

Tim

Aroldo Rique Júnior

unread,
Apr 22, 2024, 9:57:32 PM4/22/24
to DSpace Technical Support
Ok, thanks, Tim.

--
All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/6efaa566-883b-4fc1-9e31-08b568d7cccen%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages