Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
pm17788 opened this issue May 17, 2018 · 2 comments
Closed

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

pm17788 opened this issue May 17, 2018 · 2 comments

Comments

@pm17788
Copy link

pm17788 commented 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.
@jeremystretch
Copy link
Member

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
Copy link
Member

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

@lock lock bot locked as resolved and limited conversation to collaborators Jan 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants