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

Navigation can go into a deadend in essay question "manual grading" sorting results

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.9
    • Fix Version/s: 1.9.10
    • Component/s: Quiz
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      When trying to manually grade [Quiz] essay question attempts, if attempts are sorted by the first letter of students' first or last names (the initialbars) and the sorting results are empty, links to see the original attempts or other sorting options will then become unavailable. From this point, there is no way to see view and manually grade anymore essay question attempts unless the instructor logout first and then log back in.

      Steps to reproduce
      ===============

      1. Login as a teacher to a course
      2. View a quiz with essay questions (that requires "manual grading")
      3. Click on Results tab
      4. Click on Manual Grading
      5. Click on letter link (First name, Surname) to sort the attempts, choosing a letter not represented in the attempts

      What happens
      ============
      The links to view all or sorted essay question attempts do not appear. The page only shows the message "There are no attempts to show". There is no way to navigate and view anymore essay question attempts. See screenshots.

      My temporary workaround is to change the /mod/quiz/report/grading/report.php at around line #251, to change the original

      $table->initialbars($usercount>20);

      to

      $table->initialbars(false);

      I'm sure that there is a better way to do this. Thoughts or comments? Thanks!

        Attachments

          Activity

            People

            Assignee:
            samhemelryk Sam Hemelryk
            Reporter:
            chuang Wen Hao Chuang
            Tester:
            Nobody
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              25/Oct/10