[PR #13884] [MERGED] Fixes #13859: Fix valid response when no matching choice values are found #14270

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/13884
Author: @jeremystretch
Created: 9/25/2023
Status: Merged
Merged: 9/26/2023
Merged by: @jeremystretch

Base: developHead: 13859-customchoicefield-choices-fix


📝 Commits (1)

  • b107a87 Fixes #13859: Fix valid response when no matching choice values are found

📊 Changes

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

View changed files

📝 netbox/extras/api/views.py (+4 -1)

📄 Description

Fixes: #13859

Refactor pagination logic to properly handle an empty list


🔄 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/13884 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 9/25/2023 **Status:** ✅ Merged **Merged:** 9/26/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `13859-customchoicefield-choices-fix` --- ### 📝 Commits (1) - [`b107a87`](https://github.com/netbox-community/netbox/commit/b107a87a02117e25088c8cb77baa3be67dd94e11) Fixes #13859: Fix valid response when no matching choice values are found ### 📊 Changes **1 file changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/api/views.py` (+4 -1) </details> ### 📄 Description ### Fixes: #13859 Refactor pagination logic to properly handle an empty list --- <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:23:31 +01:00
adam closed this issue 2025-12-29 23:23:31 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14270