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

get_my_remotecourses() don't load all remote courses assignments

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.9
    • 1.8.7, 1.9.3, 2.0
    • 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ó
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              15/Oct/08