[PR #11036] [MERGED] 11014 fix rack elevation name sorting #13729

Closed
opened 2025-12-29 23:20:29 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/11036
Author: @arthanson
Created: 11/28/2022
Status: Merged
Merged: 11/30/2022
Merged by: @jeremystretch

Base: developHead: 11014-rack-elevation-sort


📝 Commits (3)

  • 68b776d 11014 fix rack elevation name sorting
  • fe09480 11014 code review changes
  • 2e37fd6 Annotate need for natural ordering

📊 Changes

1 file changed (+4 additions, -3 deletions)

View changed files

📝 netbox/dcim/views.py (+4 -3)

📄 Description

Fixes: #11014

Fixes rack elevation sorting order for name, use _name instead of name to sort by.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/11036 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 11/28/2022 **Status:** ✅ Merged **Merged:** 11/30/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `11014-rack-elevation-sort` --- ### 📝 Commits (3) - [`68b776d`](https://github.com/netbox-community/netbox/commit/68b776d8a44115b663bc7c90de6a7de02625055b) 11014 fix rack elevation name sorting - [`fe09480`](https://github.com/netbox-community/netbox/commit/fe09480fb8e55151d3dc8d53b7d232b2e7e4140a) 11014 code review changes - [`2e37fd6`](https://github.com/netbox-community/netbox/commit/2e37fd6ce6ac91c96a6722543e29b3209430afbe) Annotate need for natural ordering ### 📊 Changes **1 file changed** (+4 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/views.py` (+4 -3) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to opening a pull request. This helps avoid waste time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Fixes: #11014 <!-- Please include a summary of the proposed changes below. --> Fixes rack elevation sorting order for name, use _name instead of name to sort by. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:20:29 +01:00
adam closed this issue 2025-12-29 23:20:29 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13729