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

get_my_remotecourses() don't load all remote courses assignments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.8.7, 1.9.3, 2.0
    • 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.9
    • MNet
    • None
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

    Description

      The query of get_my_remotecourses() starts with c.remoteid, when get_records_sql creates the objects array, if the user have remote course assignments to courses of diferent hosts with the same remoteid get_my_remotecourses() don't load all the remote course assignments.

      I have attached the patch with c.id field added to the query.

      Attachments

        Activity

          People

            peterbulmer Peter Bulmer
            dmonllao David Monllaó
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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