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

Pagination overflows modal window on add random question

    XMLWordPrintable

Details

    • MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
    • MOODLE_36_STABLE, MOODLE_37_STABLE
    • MDL-66293-master
    • Hide

      Note1: For 36_STABLE, test it with both clean and boost themes.
      Note 2: For 37_STABLE, test it with both classic and boost themes.

      1. Log in as admin
      2. Create a course or go to an existing course
      3. Go to the course's question bank and create a new question category (call it cat-a)
      4. Import questions from questions-MDK101-11969-Default for MDK101-11969-13980611-2002.xml file into the category cat-a (file format = Moodle XML format)
      5. Go back to the course page and create a quiz
      6. Go to the quiz and from the cog menu, select "Edit  quiz"
      7. Click on the "Add" link and then select "a random question"
      8. Set the category field to "cat-a"
      9. Verify that you see the preview of the questions in the selected category
      10. Verify that you see 5 questions per page
      11. Verify that the number of pages is more than 10, but you only see no more than 10 page boxes and there is a "..." at the end of the numbers
      12. Verify that you can navigate to pages greater than 10 by clicking on the ">" button
      Show
      Note1: For 36_STABLE, test it with both clean and boost themes. Note 2: For 37_STABLE, test it with both classic and boost themes. Log in as admin Create a course or go to an existing course Go to the course's question bank and create a new question category (call it cat-a) Import questions from  questions-MDK101-11969-Default for MDK101-11969-13980611-2002.xml file into the category cat-a (file format = Moodle XML format) Go back to the course page and create a quiz Go to the quiz and from the cog menu, select "Edit  quiz" Click on the "Add" link and then select "a random question" Set the category field to "cat-a" Verify that you see the preview of the questions in the selected category Verify that you see 5 questions per page Verify that the number of pages is more than 10, but you only see no more than 10 page boxes and there is a "..." at the end of the numbers Verify that you can navigate to pages greater than 10 by clicking on the ">" button
    • 0
    • Internationals - 3.8 Sprint 6, Internationals - 3.8 Sprint 7

    Description

      `Steps to recreate: 

      1. Make sure that you have a question bank where one of the categories has more than 100 questions. 
      2. Add a new quiz to the course 
      3. Add a random question to the quiz  

      Result: The pagination expands beyond the popup . The GUI is even worse on mobile . 

      Expected result: The gui looks nice . 

      See screenshots below: 

      Attachments

        Activity

          People

            rezaie9 Shamim Rezaie
            tuekorsgaard Tue Korsgaard
            Tim Hunt Tim Hunt
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Jennifer Bauzon Jennifer Bauzon
            Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Raquel Ortega, Sabina Abellan, Sander Bangma, Sara Arjona (@sarjona), Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Nov/19

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 4 hours, 50 minutes
                2d 4h 50m