Commit Graph

3 Commits

Author SHA1 Message Date
Brian Palmer 3d89e9f0af fix microseconds spec failure
Change-Id: Ia178bdc8028793dd81d39d64732e1bf812c34290
Reviewed-on: https://gerrit.instructure.com/8991
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
2012-02-24 17:07:35 -07:00
Brian Palmer 6486b9cefe show the correct date/time for the student access report
The report was displaying the AssetUserAccess updated_at, which isn't
always the time of the last access -- #display_name re-saves the record,
for example.

Now AssetUserAccess keeps the last access time in a dedicated
last_access field. Turns out the table already had this column, but it
was unused. So now we're using it.

fixes #6679

test plan:
  * As a student, access some course content -- look at assignments,
    quizzes, pages, the syllabus, etc
  * As a teacher, go to the student roster, select the student, and
    click to view the student access report.
  * Verify that all the last access times are correct (and not just set
    to the current time).

Change-Id: Icef3073e777d191c281a21e8d160ec08201be374
Reviewed-on: https://gerrit.instructure.com/8880
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
2012-02-22 13:50:28 -07:00
Zach Wily 834b8517f0 fix names on the access report, other tweaks; fixes #4682
This makes the access report actually show the right names for things, and it
also displays icons next to them to indicate the type.

Change-Id: I0241bc9546555a0796dee35786cdfcddb930ef1a
Reviewed-on: https://gerrit.instructure.com/3869
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: JT Olds <jt@instructure.com>
2011-11-01 11:56:54 -06:00