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

Course name in mentee's grade book links to own profile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.9.8
    • 1.9.7
    • Gradebook
    • None
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE
    • Easy

      When viewing a mentee's overview gradebook, the course name shown in the gradebook is a link, however it links to your OWN course results, not the mentee's who you were viewing in the gradebook.

      I have modified the code in /grade/report/overview/lib.php LINE 116 FROM:

      $courselink = '<a href="'.$CFG->wwwroot.'/grade/report/user/index.php?id='.$course->id.'">'.$course->shortname.'</a>';

      TO:

      $courselink = '<a href="'.$CFG->wwwroot.'/course/user.php?id='.$course->id.'&user='.$this->user->id.'&mode=grade">'.$course->shortname.'</a>';

      and this now links to the mentee's results for the particular course you click on.

            poltawski Dan Poltawski
            pat25d Patrick Daly (Inactive)
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.