Moodle
  1. Moodle
  2. MDL-12426

Fix invalid SQL on course log graph reports - Oracle

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.3, 1.9, 2.0
    • Fix Version/s: 1.8.4, 1.9, 2.0
    • Component/s: Course
    • Labels:
      None
    • Database:
      Oracle
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
    • Fixed Branches:
      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>.

        Gliffy Diagrams

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Martín Langhoff
              Reporter:
              Martín Langhoff
              Tester:
              Nobody
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: