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

Grading table - filtering by name is not visible in some cases, even when applied

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.6.5, 3.7
    • Fix Version/s: None
    • Component/s: Assignment
    • Labels:
    • Affected Branches:
      MOODLE_36_STABLE, MOODLE_37_STABLE

      Description

      Repro Steps

      1. Create an assignment in a course with less than 100 participants.

      2. Enter the grading screen of the mentioned assignment, where the grading table is supposed to be.

      3. Make sure the "Assignments per page" dropdown value is 10. 

      4. The filtering (by name) mechanism should be displayed above the table -  It's active since there are more than 10 students in the course but the "Assignment per page" option limits the table to display only 10 assignments (by students) at each page.

      5. Choose an "impossible" name filter that would produce no results.

      6. Notice how the name filter UI is still available.

      7. In the "Assignments per page" dropdown, choose the value "100" or any value that is higher than the number of students in the course, except "All"

       

      Actual Results

      Notice how the name filter UI is not available any more.

       

      Expected Results

      The name filter UI should be available.

       

      "Facts" (to the best of my knowledge, so correct me if I'm wrong)

      1) Moodle "decides" to show the name filter UI only in cases when the value in the "Assignments per page" dropdown is lower than the number of participants in the course.

      2) The "Assignments per page" dropdown value is global at the user level. It stays the same across assignments and even courses.

      3) The name filter, as other table preferences, is global at the user level. It stays the same across assignments and even courses.

       ++ 

      The Problem

      If the user :

      1) Creates an "impossible" name filter in one assignment.

      2) Changes the "Assignments per page" value to a higher one.

      3) Enters an assignment in a course whose number of participants is lower than the "Assignments per page" dropdown value from item no. 2 above.
      OR (but less common)
      In the same assignment, changes the "Assignments per page" value to a number that is higher than the number of the participants in the same course.

      Then...

      The user would see the text "Nothing to display", instead of the grading table, and no active name filter UI to indicate to the user that there is an active (name) filter that prevents him from seeing any results.

      In my opinion, this is a bug, or at least a UX problem.

        Attachments

          Activity

            People

            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: