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

Add possibility to Bulk Delete Topic Sections

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Waiting for peer review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.3.1, 3.4, 3.5, 3.6.1, 3.7.4, 3.8, 3.9
    • Fix Version/s: None
    • Component/s: Course, Usability
    • Labels:
    • Testing Instructions:
      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).
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      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

          Issue Links

            Activity

              People

              Assignee:
              russellb Russell Boyatt
              Reporter:
              moodleayrshire Moodle Ayrshire
              Peer reviewer:
              Adrian Greeve
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Barbara Ramiro, Bas Brands
              Votes:
              71 Vote for this issue
              Watchers:
              55 Start watching this issue

                Dates

                Created:
                Updated: