Skip to content

The "This Week" events filter in admin UI statistics no longer works in OC 20 #1675

Description

@Nepoh

Describe the bug

The THIS_WEEK admin ui statistics filter no longer works since Opencast 20.
It is defined here in adminui.stats.properties but disabled by default.

The problem is probably related to a change in admin-interface
src/utils/dateUtils.ts
which does not support a week unit/type in relativeToAbsoluteDate.

To Reproduce

Steps to reproduce the behavior:

  1. Configure Opencast 20 to show the THIS_WEEK filter
  2. Login in to admin UI
  3. The whole statistics bar disappeared
  4. Disable the filter to see the statistics reappear

The JS code breaks in relativeToAbsoluteDate.

Expected behavior

Not sure, either the weekly filter being removed from the Opencast config (as it is disabled by default anyways) or implement support for it in the admin-interface.
But both should probably be consistent.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions