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

Add possibility to Bulk Delete Topic Sections

    XMLWordPrintable

Details

    • Improvement
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • 3.3.1, 3.4, 3.5, 3.6.1, 3.7.4, 3.8, 3.9
    • None
    • Course, Usability
    • 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
          2018-07-26_15-15-56.gif
          5 kB
        2. 2018-07-26_15-15-56.gif
          2018-07-26_15-15-56.gif
          6 kB
        3. 2018-07-27_09-26-21.png
          2018-07-27_09-26-21.png
          4 kB
        4. 2019-02-13 , 16_33_37 - Edit course settings - Mozilla Firefox.png
          2019-02-13 , 16_33_37 - Edit course settings - Mozilla Firefox.png
          45 kB
        5. bulkdeletesections.PNG
          bulkdeletesections.PNG
          19 kB
        6. collapsed topics.jpg
          collapsed topics.jpg
          90 kB
        7. course-settings.png
          course-settings.png
          15 kB
        8. delete-all-empty-sections.png
          delete-all-empty-sections.png
          11 kB
        9. ERROR can not delete topics in bulk.png
          ERROR can not delete topics in bulk.png
          30 kB
        10. image-2018-07-06-13-14-27-454.png
          image-2018-07-06-13-14-27-454.png
          17 kB
        11. image-2018-07-06-13-16-25-616.png
          image-2018-07-06-13-16-25-616.png
          15 kB
        12. mass delete popup.png
          mass delete popup.png
          6 kB
        13. max number of sections message.png
          max number of sections message.png
          10 kB
        14. MDL-59514.png
          MDL-59514.png
          12 kB
        15. MDL-59514 more menu-1.png
          MDL-59514 more menu-1.png
          53 kB

        Issue Links

          Activity

            People

              russellb Russell Boyatt
              moodleayrshire Moodle Ayrshire
              Simey Lameze Simey Lameze
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona), Huong Nguyen, Barbara Ramiro, Bas Brands, Mathew May, David Woloszyn, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              78 Vote for this issue
              Watchers:
              61 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

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