@Override protected StatisticResult recalculateStatisticResult(final UserRequest ureq) { // recalculate the statistic result based on the from and to dates. // do this by going via sql (see WeeklyStatisticManager) final IStatisticManager weeklyStatisticManager = getStatisticManager(); final StatisticResult statisticResult = weeklyStatisticManager.generateStatisticResult( ureq, getCourse(), getCourseRepositoryEntryKey(), form_.getFromDate(), form_.getToDate()); return statisticResult; }