Non-core contributed modules

Attendance report not displayed

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.9.1
  • Fix Version/s: None
  • Component/s: Package: Attendance
  • Labels:
    None
  • Environment:
    Windows server 2003
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE

Description

When in attendance report, "All taken" should be selected, you'll get the following message "Nothing to display" even if there is something to display. Report should be shown.
The report works fine when weeks/months is selected.
Report files can be downloaded in any format with no problems at all, in any of the views mentioned above.

Activity

Hide
Dmitry Pupinin added a comment -

What version of module you use Fred?

Show
Dmitry Pupinin added a comment - What version of module you use Fred?
Hide
Dmitry Pupinin added a comment -

Have you this problem on latest release, Fred? Or I can close this?

Show
Dmitry Pupinin added a comment - Have you this problem on latest release, Fred? Or I can close this?
Hide
Rica Young added a comment -

Hi, Dmitry!

Thank you very much for sharing your attendance module.

I need your help on a problem similar with Fred. I have installed moodle 1.9.3 in two different servers/sites. In these two sites I have installed the same attendance module version. Both attendance module displays weeks and months correctly. However, one site displays report when "All Taken" option is selected while the other says "Nothing to Display. What am I doing wrong?

Show
Rica Young added a comment - Hi, Dmitry! Thank you very much for sharing your attendance module. I need your help on a problem similar with Fred. I have installed moodle 1.9.3 in two different servers/sites. In these two sites I have installed the same attendance module version. Both attendance module displays weeks and months correctly. However, one site displays report when "All Taken" option is selected while the other says "Nothing to Display. What am I doing wrong?
Hide
Michael added a comment -

I had the problem as of today. The following in report.php fixed it for me.

136c136
< $where = "courseid={$course->id} AND sessdate >= $course->startdate AND sessdate <= ".time();

> $where = "courseid={$course->id} AND sessdate >= $course->startdate";
226c226
< ?>
\ No newline at end of file

> ?>

Show
Michael added a comment - I had the problem as of today. The following in report.php fixed it for me. 136c136 < $where = "courseid={$course->id} AND sessdate >= $course->startdate AND sessdate <= ".time(); — > $where = "courseid={$course->id} AND sessdate >= $course->startdate"; 226c226 < ?> \ No newline at end of file — > ?>

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: