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

quiz_report_grade_method_sql() should also consider state = 'submitted'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 5.0.1
    • 5.0
    • Quiz

      With MDL-68806, there is a new attempt state submitted. However, the function quiz_report_grade_method_sql() – which is called by quiz_report_qm_filter_select() – filters only for state = 'finished'. This makes sense for QUIZ_GRADEDHIGHEST, but in the case of QUIZ_ATTEMPTFIRST and QUIZ_ATTEMPTLAST, it would make sense to consider state = 'submitted' as well.

            philippimhof Philipp Imhof
            philippimhof Philipp Imhof
            Andrew Gosali Andrew Gosali
            Tim Hunt Tim Hunt
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 31 minutes
                1h 31m

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