Moodle
  1. Moodle
  2. MDL-13678

Change default number of rows per page on quiz reports

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9.1
    • Component/s: Quiz
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE
    • Rank:
      26457

      Description

      Teachers ask me to change the default value of the number of students, shown on a report page, since it is very low now (10). AFAIK an average classroom contains about 25 students, the default value could be set to 30 as a quick and dirty hack.

      /moodle/mod/quiz/report/overview/report.php, line 71
      $pagesize = optional_param('pagesize', 10, PARAM_INT); => $pagesize = optional_param('pagesize', 30, PARAM_INT);

      Better would be to be able to change that value in the modules setting.

        Activity

        Hide
        Tim Hunt added a comment -

        You might want this, but it is not clear what other people will want, so I am not going to make this change.

        Show
        Tim Hunt added a comment - You might want this, but it is not clear what other people will want, so I am not going to make this change.
        Hide
        Séverin Terrier added a comment -

        I also think that having too small numbers isn't very good.

        Teachers new to Moodle sometimes don't understand why they don't see everybody

        Show
        Séverin Terrier added a comment - I also think that having too small numbers isn't very good. Teachers new to Moodle sometimes don't understand why they don't see everybody
        Hide
        Tim Hunt added a comment -
        Show
        Tim Hunt added a comment - OK, I bow to peer group pressure. http://moodle.org/mod/forum/discuss.php?d=91390 . I'll tack it on to http://docs.moodle.org/en/Development:Quiz_report_enhancements .
        Hide
        Tim Hunt added a comment -

        Assigning quiz report issues mentioned in http://docs.moodle.org/en/Development:Quiz_report_enhancements to Jamie.

        Show
        Tim Hunt added a comment - Assigning quiz report issues mentioned in http://docs.moodle.org/en/Development:Quiz_report_enhancements to Jamie.
        Hide
        Jamie Pratt added a comment -

        I committed a patch for this to 1.9 and HEAD quiz reports, including the detailled responses report in contrib.

        Show
        Jamie Pratt added a comment - I committed a patch for this to 1.9 and HEAD quiz reports, including the detailled responses report in contrib.
        Hide
        Helen Foster added a comment -

        Hi Jamie,

        Thanks for adding an option to set the number of rows displayed on each page of the overview report

        Just a small suggestion before closing this issue:

        Could the field have a more descriptive label than simply "Page size", such as "Number of rows shown per page".

        (The corresponding option for assignments is labelled "Submissions shown per page".)

        Show
        Helen Foster added a comment - Hi Jamie, Thanks for adding an option to set the number of rows displayed on each page of the overview report Just a small suggestion before closing this issue: Could the field have a more descriptive label than simply "Page size", such as "Number of rows shown per page". (The corresponding option for assignments is labelled "Submissions shown per page".)
        Hide
        Tim Hunt added a comment -

        Jamie did not change the language string used when making this fix, and anyway, 'page size' is used elsewhere in Moodle. I think it is OK to close this bug now.

        Show
        Tim Hunt added a comment - Jamie did not change the language string used when making this fix, and anyway, 'page size' is used elsewhere in Moodle. I think it is OK to close this bug now.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: