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

Add possibility to Bulk Delete Topic Sections

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Done
    • Minor
    • None
    • 3.3.1, 3.4, 3.5, 3.6.1, 3.7.4, 3.8, 3.9
    • Course
    • MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • Hide

      Test removal of empty sections

      1. Create a new course, and populate some of the sections with resources and activities.
      2. Ensure at least some sections are empty - containing no activities or resources.
      3. Turn editing on.
      4. Select the 'delete empty sections' options at the bottom of the course page.
      5. In the modal dialog that appears, confirm the deletion with 'Delete all empty sections'.
      6. Check that all empty sections have been removed from the course. No sections containing resources or activities should have been removed (or reordered).
      Show
      Test removal of empty sections Create a new course, and populate some of the sections with resources and activities. Ensure at least some sections are empty - containing no activities or resources. Turn editing on. Select the 'delete empty sections' options at the bottom of the course page. In the modal dialog that appears, confirm the deletion with 'Delete all empty sections'. Check that all empty sections have been removed from the course. No sections containing resources or activities should have been removed (or reordered).

    Description

      If multiple sections have been added using the add multiple topic sections option and say 100 topics have been added by mistake it is not possible to remove them except by manually deleting each topic one by one. If there is going to be a bulk add there should be a bulk delete - in the very least as long as those topics are empty so as to prevent orphan topics. Though personally I always liked orphaned topics but hey that's another thing.

      Attachments

        1. 2018-07-26_15-15-56.gif
          5 kB
          Sharon Strauss
        2. 2018-07-26_15-15-56.gif
          6 kB
          Sharon Strauss
        3. 2018-07-27_09-26-21.png
          4 kB
          Sharon Strauss
        4. 2019-02-13 , 16_33_37 - Edit course settings - Mozilla Firefox.png
          45 kB
          Przemek Kaszubski
        5. bulkdeletesections.PNG
          19 kB
          Moodle Ayrshire
        6. collapsed topics.jpg
          90 kB
          Jamie Tinley
        7. course-settings.png
          15 kB
          Richard Clay
        8. delete-all-empty-sections.png
          11 kB
          Russell Boyatt
        9. ERROR can not delete topics in bulk.png
          30 kB
          Jim Judges
        10. image-2018-07-06-13-14-27-454.png
          17 kB
          Michael Milette
        11. image-2018-07-06-13-16-25-616.png
          15 kB
          Michael Milette
        12. mass delete popup.png
          6 kB
          Matthew Davidson
        13. max number of sections message.png
          10 kB
          Helen Foster
        14. MDL-59514.png
          12 kB
          Simey Lameze
        15. MDL-59514 more menu-1.png
          53 kB
          Simey Lameze

        Issue Links

          Activity

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.