omeka / Omeka

A flexible web publishing platform for the display of library, museum and scholarly collections, archives and exhibitions.
http://omeka.org
GNU General Public License v3.0
472 stars 193 forks source link

[Feature Request] Customizable values for recent items and collections, admin UI #994

Open DBinaghi opened 1 year ago

DBinaghi commented 1 year ago

In Dashboard, get_recent_items() and get_recent_collections() functions have a fixed value of 5 records. In some cases, one might want to change that value, either reducing or increasing it. Could one or two variables be thrown in, thus allowing for customization of that value without having to mess with core files? Best place to customized them could then be appearance/edit-settings

zerocrates commented 1 year ago

I don't think there's any problem with having these be configurable, more just a question of if we'd rather hook them up to some other setting we already have, or have several be controlled by one new one, or some option like that.

DBinaghi commented 1 year ago

My opinion is that the two numbers should be independent and separate (so, not the same value for both lists), to allow for max customization. Default value should be 5, for consistency with actual values.

As said, appearance/edit-settings page could contain the input-boxes for those values.