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

Ad-hoc reports-Numbered SELECT statement aliases bug

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 4.1.6
    • Reports
    • None
    • MOODLE_401_STABLE

      Numbered SELECT statement aliases (e.g., address1, address2, etc.) does not display all the aliases in the result. Only the last numbered alias in the statement is displayed. For example,

       

      SELECT firstname AS "First1", lastname AS 'First2'

      FROM mdl_user

       

      The result will only show the data for First2.

       

      On our Moodle site, we are using the Snap theme from Open LMS. To go to the ad-hoc report on our site, we go to Admin >> Site home settings >> Reports >> Admin SQL.

            Unassigned Unassigned
            CCR Chang Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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