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

Fix invalid SQL on course log graph reports - Oracle

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8.3, 1.9, 2.0
    • 1.8.4, 1.9, 2.0
    • Course
    • None
    • Oracle
    • MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

    Description

      Oracle does not accept column labels in the GROUP BY section - get_logs_usercourse() and get_logs_userday() were computing the day/hours column and using it in the GROUP BY.

      Credit for the fix goes to Dennis Rochford <Dennis.Rochford@usq.edu.au>.

      Attachments

        Activity

          People

            martinlanghoff Martín Langhoff
            martinlanghoff Martín Langhoff
            Nobody Nobody
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Jan/08