Delete "all" clusters still only deletes in pages of 50 #1731

Closed
opened 2025-12-29 16:34:48 +01:00 by adam · 2 comments
Owner

Originally created by @pm17788 on GitHub (May 17, 2018).

Issue type

[ ] Feature request
[x] Bug report
[ ] Documentation

Environment

  • Python version: 3.5.4
  • NetBox version: 2.3.2

Description

  • Go to Virtualization -> Clusters, click on the checkbox by the Name column heading, and get prompted to Select all XXYY clusters matching query.
  • Click Delete All
  • The confirmation page which comes up shows only 50 clusters.
    • Confirming the delete action also only deletes just the 50.
Originally created by @pm17788 on GitHub (May 17, 2018). ### Issue type [ ] Feature request <!-- An enhancement of existing functionality --> [x] Bug report <!-- Unexpected or erroneous behavior --> [ ] Documentation <!-- A modification to the documentation --> ### Environment * Python version: 3.5.4 * NetBox version: 2.3.2 ### Description * Go to `Virtualization` -> `Clusters`, click on the checkbox by the `Name` column heading, and get prompted to *Select all XXYY clusters matching query*. * Click `Delete All` * The confirmation page which comes up shows only 50 clusters. * Confirming the delete action also only deletes just the 50.
adam closed this issue 2025-12-29 16:34:48 +01:00
Author
Owner

@jeremystretch commented on GitHub (May 21, 2018):

This affects all object types without a filter set under its bulk deletion view. Added the missing filter for virtualization.Cluster as well as dcim.Region, and tweaked BulkDeleteView to accommodate queryset-based deletion for objects without a filter.

Also raised #2101 to ensure that every object gets a filter in the interest of consistency.

@jeremystretch commented on GitHub (May 21, 2018): This affects all object types without a filter set under its bulk deletion view. Added the missing filter for virtualization.Cluster as well as dcim.Region, and tweaked BulkDeleteView to accommodate queryset-based deletion for objects without a filter. Also raised #2101 to ensure that _every_ object gets a filter in the interest of consistency.
Author
Owner

@jeremystretch commented on GitHub (May 21, 2018):

Fixed in 399a633d9d. Not sure what happened with the commit message.

@jeremystretch commented on GitHub (May 21, 2018): Fixed in 399a633d9d3baa8f3a22998ea018bc5e82db31bc. Not sure what happened with the commit message.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1731