Skip to content

VSB-TUO/Make item view - Total Downloads - configurable#1066

Merged
milanmajchrak merged 1 commit intocustomer/vsb-tuofrom
vsb-tuo/make-item-view-total-downloads-configurable
Sep 18, 2025
Merged

VSB-TUO/Make item view - Total Downloads - configurable#1066
milanmajchrak merged 1 commit intocustomer/vsb-tuofrom
vsb-tuo/make-item-view-total-downloads-configurable

Conversation

@jr-rk
Copy link
Copy Markdown

@jr-rk jr-rk commented Sep 18, 2025

Phases MP MM MB MR JM Total
ETA 0 0 0 0 0 0
Developing 0 0 0 0 0 0
Review 0 0 0 0 0 0
Total - - - - - 0
ETA est. 0
ETA cust. - - - - - 0

Problem description

A new key needed to be added to make the Total Downloads feature configurable.

@jr-rk jr-rk self-assigned this Sep 18, 2025
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a configurable feature for displaying Total Downloads on item views. The configuration allows administrators to enable or disable the display of total downloads for all item's bitstreams.

  • Adds a new configuration property item.view.total.downloads.enabled to control Total Downloads display
  • Exposes the configuration property through the REST API for frontend consumption

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
dspace/config/dspace.cfg Adds the main configuration property with documentation
dspace/config/modules/rest.cfg Exposes the configuration property via REST API

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@milanmajchrak milanmajchrak merged commit 7b5d636 into customer/vsb-tuo Sep 18, 2025
12 of 13 checks passed
milanmajchrak pushed a commit that referenced this pull request Nov 24, 2025
* VSB-TUO/Configurable total downloads feature (#1066)

* Set default to false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VSB-TUO/Make "Total Downloads" display configurable

3 participants