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

Allow for bulk deletion of entries in the database module.

    XMLWordPrintable

Details

    • MOODLE_26_STABLE
    • MOODLE_26_STABLE
    • wip-MDL-40871-master
    • Hide
      1. Create a database activity.
      2. Add some fields.
      3. Save the templates.
      4. Add some entries.
      5. On the list view Check some boxes next to the entries.
      6. Test the "select all" and "deselect all" buttons to make sure that they work as expected.
      7. At the bottom of the list should be a button saying "Delete checked"
      8. After clicking the "delete checked" button you should be taken to a confirmation page.
      9. Click cancel and make sure that you are taken back to the list view.
      10. Try again but this time confirm the delete and ensure that the entry has been deleted.
      11. Log in as a student and view the list view page. Make sure that as a student that there are no check boxes or buttons to delete the entries.
      Show
      Create a database activity. Add some fields. Save the templates. Add some entries. On the list view Check some boxes next to the entries. Test the "select all" and "deselect all" buttons to make sure that they work as expected. At the bottom of the list should be a button saying "Delete checked" After clicking the "delete checked" button you should be taken to a confirmation page. Click cancel and make sure that you are taken back to the list view. Try again but this time confirm the delete and ensure that the entry has been deleted. Log in as a student and view the list view page. Make sure that as a student that there are no check boxes or buttons to delete the entries.

    Description

      I'm not sure how useful this would be for teachers, but when loading in dummy data manually or via csv, I find deleting each entry time consuming.
      I'd like to be able to check the entries and then delete all of them at once.

      Attachments

        Issue Links

          Activity

            People

              abgreeve Adrian Greeve
              abgreeve Adrian Greeve
              Andrew Davis Andrew Davis
              Sam Hemelryk Sam Hemelryk
              Rossiani Wijaya Rossiani Wijaya
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Nov/13