Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-66241

activities_due indicator can not be used for students at risk

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.7
    • 3.7.2
    • Analytics

    Description

      The activities_due indicator calls the calendar API passing the $sampleid, this is fine when $sampleid is a userid, but not when $sampleid is a user enrolment. To call the method with $user->id where $user = $this->retrieve('user', $sampleid); is enough to fix the problem.

      Attachments

        Activity

          People

            dmonllao David Monllaó
            dmonllao David Monllaó
            Jun Pataleta Jun Pataleta
            CiBoT CiBoT
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9/Sep/19

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m