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

consider making code that makes a flexible table from the data from tables like question_statistics generic

    XMLWordPrintable

Details

    • MOODLE_26_STABLE
    • MOODLE_27_STABLE
    • MDL-41755-master-v2
    • Hide

      See quiz backup in MDL-41757 "backup-moodle2-activity-424-quiz424-20140206-0844.mbz". Restore it in a course and check that the table of stats for questions in the quiz displays as it did before (see screenshots in other issue or compare table pre and post patch).

      There are no unit tests that cover this area unfortunately. It is a pretty straight forward addition though.

      Show
      See quiz backup in MDL-41757 "backup-moodle2-activity-424-quiz424-20140206-0844.mbz". Restore it in a course and check that the table of stats for questions in the quiz displays as it did before (see screenshots in other issue or compare table pre and post patch). There are no unit tests that cover this area unfortunately. It is a pretty straight forward addition though.

    Description

      "There is a question whether the code that takes the data from tables like question_statistics, and returns a flexible_table (or even a more specific class like quiz_statistics_question_table) can usefully be made generic and shared. Potentially it could be, but I cannot tell off the top of my head. When thinking it through, we should be aware of this possibility."

      Attachments

        Issue Links

          Activity

            People

              jamiesensei Jamie Pratt
              jamiesensei Jamie Pratt
              Tim Hunt Tim Hunt
              Damyon Wiese Damyon Wiese
              Petr Skoda Petr Skoda
              Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/May/14