Skip to content

Preprint stats aren't filtering by date in Reporting Plugin #45

@alainna

Description

@alainna

Describe the bug
The reporting plugin does not filter views & downloads by dates and instead appears to display them for all time.

Janeway version
1.7.3

To Reproduce
Steps to reproduce the behavior:

  1. On a Janeway instance with an active Repository, log in on a Superuser/Repository Manager account /plugins/reporting/repository/metrics/

  2. Filter to a month, e.g. 2025-04-01 to 2025-05-01, then sort by most downloaded object
    Image

  3. Widen the range, then sort by most downloaded object, e.g. 2025-01-01 to 2025-05-01
    Image

  4. Note the lack of change in numbers

Image

Expected behavior
View & Download counts should be only for the selected dates, not all time

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions