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

for a question with many variants we only want to allow the user to preview the first 20

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.2, 2.2
    • Fix Version/s: 2.1.2
    • Component/s: Questions
    • Labels:
      None
    • Testing Instructions:
      Hide

      1. Either create a calculated question with 100s of variants (dataset items); or temporarily hack one of the installed question types so that get_num_variants() return something big like 1000000, or install https://github.com/jamiepratt/moodle-qtype_varnumeric

      2. Preview that question. Verify that the dropdown where you can select which variant to preview does not have more than 100 entries.

      Show
      1. Either create a calculated question with 100s of variants (dataset items); or temporarily hack one of the installed question types so that get_num_variants() return something big like 1000000, or install https://github.com/jamiepratt/moodle-qtype_varnumeric 2. Preview that question. Verify that the dropdown where you can select which variant to preview does not have more than 100 entries.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Pull Master Branch:

      Description

      In the question preview window we need to restrict how many question variants can be selected.

      We thought allowing preview of the first 20 was sensible.

        Attachments

          Activity

            People

            Assignee:
            jamiesensei Jamie Pratt
            Reporter:
            jamiesensei Jamie Pratt
            Peer reviewer:
            Tim Hunt
            Integrator:
            Sam Hemelryk
            Tester:
            Rossiani Wijaya
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

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