Sorting device inventory breaks parent/child structure #6630

Closed
opened 2025-12-29 19:43:18 +01:00 by adam · 3 comments
Owner

Originally created by @thomasjsn on GitHub (Jul 6, 2022).

NetBox version

v3.2.5

Python version

3.9

Steps to Reproduce

  1. Enter device inventory
  2. Sort a column

Expected Behavior

Child's should be organized under their parent even when applying custom sorting.

image

Observed Behavior

Child's are no longer displayed under the correct parent.

image
image

Originally created by @thomasjsn on GitHub (Jul 6, 2022). ### NetBox version v3.2.5 ### Python version 3.9 ### Steps to Reproduce 1. Enter device inventory 2. Sort a column ### Expected Behavior Child's should be organized under their parent even when applying custom sorting. ![image](https://user-images.githubusercontent.com/6061006/177543231-605b7e49-3c56-4665-96e2-d5ef5f02e31a.png) ### Observed Behavior Child's are no longer displayed under the correct parent. ![image](https://user-images.githubusercontent.com/6061006/177543322-d4380ad5-7246-4f47-b9c4-1ef44af37ffb.png) ![image](https://user-images.githubusercontent.com/6061006/177543357-075d9f41-c9f5-4ab3-b209-65cf85bc12f2.png)
adam added the type: bugstatus: revisions needed labels 2025-12-29 19:43:18 +01:00
adam closed this issue 2025-12-29 19:43:18 +01:00
Author
Owner

@thomasjsn commented on GitHub (Jul 6, 2022):

I'm a heavy user of structured device inventory, and this makes it difficult to use any kind of custom sorting.

@thomasjsn commented on GitHub (Jul 6, 2022): I'm a heavy user of structured device inventory, and this makes it difficult to use any kind of custom sorting.
Author
Owner

@jeremystretch commented on GitHub (Jul 6, 2022):

Thank you for opening a bug report. Unfortunately, the information you have provided is not sufficient for someone else to attempt to reproduce the reported behavior. Remember, each bug report must include detailed steps that someone else can follow on a clean, empty NetBox installation to reproduce the exact problem you're experiencing. These instructions should include the creation of any involved objects, any configuration changes, and complete accounting of the actions being taken. Also be sure that your report does not reference data on the public NetBox demo, as that is subject to change at any time by an outside party and cannot be relied upon for bug reports.

@jeremystretch commented on GitHub (Jul 6, 2022): Thank you for opening a bug report. Unfortunately, the information you have provided is not sufficient for someone else to attempt to reproduce the reported behavior. Remember, each bug report must include detailed steps that someone else can follow on a clean, empty NetBox installation to reproduce the exact problem you're experiencing. These instructions should include the creation of any involved objects, any configuration changes, and complete accounting of the actions being taken. Also be sure that your report does not reference data on the public NetBox demo, as that is subject to change at any time by an outside party and cannot be relied upon for bug reports.
Author
Owner

@jeremystretch commented on GitHub (Jul 19, 2022):

Closing for lack of activity.

@jeremystretch commented on GitHub (Jul 19, 2022): Closing for lack of activity.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6630