[PR #14370] [MERGED] Fixes #14325: Ensure expanded numeric arrays are ordered #14372

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/14370
Author: @jeremystretch
Created: 11/28/2023
Status: Merged
Merged: 11/28/2023
Merged by: @jeremystretch

Base: developHead: 14325-service-port-ordering


📝 Commits (2)

  • 96f4ceb Fixes #14325: Ensure expanded numeric arrays are ordered
  • 0f820f1 Remove redundant casting to

📊 Changes

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

View changed files

📝 netbox/utilities/forms/utils.py (+1 -1)

📄 Description

Fixes: #14325

Call sorted() on the return value of parse_numeric_range() after casting to a set().


🔄 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/14370 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 11/28/2023 **Status:** ✅ Merged **Merged:** 11/28/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `14325-service-port-ordering` --- ### 📝 Commits (2) - [`96f4ceb`](https://github.com/netbox-community/netbox/commit/96f4ceb8a95158bf082126ae4e645268bbecc32c) Fixes #14325: Ensure expanded numeric arrays are ordered - [`0f820f1`](https://github.com/netbox-community/netbox/commit/0f820f1d706fa4838cac129dfb4db63d2b4e36d0) Remove redundant casting to ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/utilities/forms/utils.py` (+1 -1) </details> ### 📄 Description ### Fixes: #14325 Call `sorted()` on the return value of `parse_numeric_range()` after casting to a `set()`. --- <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:24:07 +01:00
adam closed this issue 2025-12-29 23:24:07 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14372