Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3080

"user_lastaccess" table is not updated correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.7.0
    • Fix Version/s: None
    • Component/s: Dashboard
    • Affected Branches:
      MOODLE_37_STABLE

      Description

      On our installation of moodle we sort courses in the user dashboard by when they were last accessed. I have noticed that whenever I open the moodle app and just look at the dashboard and then go back to the dashboard on our moodle website, it seems to have randomised the order in which the courses are showing.

      We have looked a bit into it and it seems that whenever a user accesses the moodle app the "user_lastaccess" table is updated for all visible courses that user is enrolled to. So all courses suddenly have the same time stamp in the "user_lastaccess" table. I guess it should only update the time stamp for any specific course whenever it is actually visited in the moodle app (and not just by opening the moodle app dashboard).

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: