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

Add qbank_usage to core

    XMLWordPrintable

Details

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • master_MDL-72074-usage
    • Hide

      Upgrade

      1. On an existing Moodle instance with courses, upgrade your instance with the patch applied.
      2. Confirm that the upgrade completes successfully.
      Fresh installation
      1. Create a fresh install of Moodle with this patch.
      2. Confirm that installation completes successfully.
        Test scenario:
      • Create a new quiz.
      • Add some questions to the quiz.
      • Attempt the quiz.
      • Navigate to the created course: Actions menu (Gear icon) > Question banks
      • Confirm:
        • That the "Usage" column has "1" for all the questions added to the quiz.
        • That the usage count "1" is clickable
      • Click "1" on that row.
      • Conform:
        • That the question shows the quiz and course where its added.
        • That the attempt count matches the number of attempts by different users.

       

      Show
      Upgrade On an existing Moodle instance with courses, upgrade your instance with the patch applied. Confirm that the upgrade completes successfully. Fresh installation Create a fresh install of Moodle with this patch. Confirm that installation completes successfully. Test scenario: Create a new quiz. Add some questions to the quiz. Attempt the quiz. Navigate to the created course: Actions menu (Gear icon) > Question banks Confirm: That the "Usage" column has "1" for all the questions added to the quiz. That the usage count "1" is clickable Click "1" on that row. Conform: That the question shows the quiz and course where its added. That the attempt count matches the number of attempts by different users.  

    Description

      Create a plugin to view the column to show the usage of the question in different quizzes.
      The number in the usage column should be clickable link, which should pop up a page where it will show the question and also a table of content to view where this question is used, previewquestion plugin and moodle table_sql can be a reference for this issue.

      Attachments

        1. MDL-72074_installation.png
          MDL-72074_installation.png
          59 kB
        2. MDL-72074_upgrade.webm
          676 kB
        3. MDL-72074_usage.png
          MDL-72074_usage.png
          155 kB
        4. MDL-72074_usage details.png
          MDL-72074_usage details.png
          148 kB

        Issue Links

          Activity

            People

              safats Safat Shahin
              mattp@catalyst-au.net Matt Porritt
              Matt Porritt Matt Porritt
              Ilya Tregubov Ilya Tregubov
              Angelia Dela Cruz Angelia Dela Cruz
              Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                19/Apr/22

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 35 minutes
                  4h 35m