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:
- Configure Opencast 20 to show the
THIS_WEEK filter
- Login in to admin UI
- The whole statistics bar disappeared
- 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.
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
weekunit/type inrelativeToAbsoluteDate.To Reproduce
Steps to reproduce the behavior:
THIS_WEEKfilterThe 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.