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

Allow for bulk deletion of entries in the database module.

    Details

    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-40871-master

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    18/Nov/13