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

Course import selector lists only 10 courses, and no pagination

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3, 2.3.2
    • Fix Version/s: 2.3.7, 2.4.4
    • Component/s: Backup
    • Labels:
    • Testing Instructions:
      Hide

      From a fresh install build 10 courses total.

      1. Testing with default config value of 10 courses
      2. Login as user with access to all newly created courses (e.g. Site manager)
      3. Go to one of the courses course and go to Course administration > Import
        1. Verify that form says "Total courses: 10"
      4. Built one more course and verify that form says:
        1. "More than 10 courses found, showing first 10 results"
        2. "There are too many results, enter a more specific search."
      1. Testing with config value changed (Master only)
      2. Now go to Site administration > Courses > Backups > General import defaults
      3. Change the value for "Maximum number of courses listed for import backup" to 5
      4. Go back to the course import screen and reload and verify form says:
        1. "More than 5 courses found, showing first 5 results"
        2. "There are too many results, enter a more specific search."
      5. Now go to Site administration > Courses > Backups > General import defaults
      6. Change the value for "Maximum number of courses listed for import backup" to 20
      7. Go back to the course import screen and reload and verify form says:
        1. "Total courses: 11"
      Show
      From a fresh install build 10 courses total. Testing with default config value of 10 courses Login as user with access to all newly created courses (e.g. Site manager) Go to one of the courses course and go to Course administration > Import Verify that form says "Total courses: 10" Built one more course and verify that form says: "More than 10 courses found, showing first 10 results" "There are too many results, enter a more specific search." Testing with config value changed (Master only) Now go to Site administration > Courses > Backups > General import defaults Change the value for "Maximum number of courses listed for import backup" to 5 Go back to the course import screen and reload and verify form says: "More than 5 courses found, showing first 5 results" "There are too many results, enter a more specific search." Now go to Site administration > Courses > Backups > General import defaults Change the value for "Maximum number of courses listed for import backup" to 20 Go back to the course import screen and reload and verify form says: "Total courses: 11"
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-35603-import-limit

      Description

      When choosing to import material from another course, a maximum of 10 courses are presented, with no way to seek to additional courses.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  1 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    13/May/13