[PR #8903] [CLOSED] Fixes #7839 Focus on searchbar status | #8813 Search bar contents not retained #13409

Closed
opened 2025-12-29 22:27:14 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/8903
Author: @PieterL75
Created: 3/17/2022
Status: Closed

Base: developHead: issue_7839


📝 Commits (10+)

📊 Changes

15 files changed (+116 additions, -18 deletions)

View changed files

📝 docs/release-notes/version-3.1.md (+3 -0)
📝 netbox/netbox/api/authentication.py (+22 -0)
📝 netbox/project-static/dist/netbox.js (+1 -1)
📝 netbox/project-static/dist/netbox.js.map (+1 -1)
📝 netbox/project-static/src/netbox.ts (+2 -2)
📝 netbox/templates/base/layout.html (+2 -2)
📝 netbox/templates/users/api_tokens.html (+11 -3)
📝 netbox/users/admin/__init__.py (+7 -1)
📝 netbox/users/admin/forms.py (+1 -1)
📝 netbox/users/api/serializers.py (+1 -1)
📝 netbox/users/forms.py (+8 -1)
netbox/users/migrations/0002_token_allowed_ips.py (+20 -0)
📝 netbox/users/models.py (+28 -0)
📝 netbox/utilities/templates/search/searchbar.html (+4 -3)
📝 netbox/utilities/templatetags/search.py (+5 -2)

📄 Description

Fixes: #8813 Search bar contents not retained after submitting status: accepted type: bug

Fixes: #7839 Focus on searchbar status


🔄 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/8903 **Author:** [@PieterL75](https://github.com/PieterL75) **Created:** 3/17/2022 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `issue_7839` --- ### 📝 Commits (10+) - [`522ccea`](https://github.com/netbox-community/netbox/commit/522cceae73c6bb32539ee0744daa95c835a9035d) base_requirements - django_better_admin_arrayfield - [`fa15c87`](https://github.com/netbox-community/netbox/commit/fa15c879ff3f773f4025fb8bdcd7094237084d47) #8233 Restrict API key usage by source IP - [`de417a0`](https://github.com/netbox-community/netbox/commit/de417a0296d52718c9a861fa9cbe5f3f28cb676d) Add 'Any' display to admin form - [`9536561`](https://github.com/netbox-community/netbox/commit/9536561aa89d89d6430fc3a69b276255c3a55bc3) Focus on searchbar #7839 - [`d53d348`](https://github.com/netbox-community/netbox/commit/d53d348da4fa6bba6fff02459af5aa1a7ac3b1b4) update releasenotes #7839,#8813 - [`5c08575`](https://github.com/netbox-community/netbox/commit/5c085758d132d13c8d711dbbda38594c22b34c57) #7839 Focus on Searchbar - [`d42a93f`](https://github.com/netbox-community/netbox/commit/d42a93f8a9f6242856c6ac294a5f545a5c46c0e8) Merge branch 'netbox-community:develop' into issue_7839 - [`1c27d2b`](https://github.com/netbox-community/netbox/commit/1c27d2b1a4ff8e26e8012eb236db56f41f9f4812) Update version-3.1.md - [`a4cd082`](https://github.com/netbox-community/netbox/commit/a4cd082c39073e1a4b25dd61d9b47e649582b8c0) rename ipnet var to ip_networks - [`7e624a0`](https://github.com/netbox-community/netbox/commit/7e624a0726eae95b68032cbb0ff3fe42ffcd652f) Merge branch 'develop' of https://github.com/PieterL75/netbox into issue_7839 ### 📊 Changes **15 files changed** (+116 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `docs/release-notes/version-3.1.md` (+3 -0) 📝 `netbox/netbox/api/authentication.py` (+22 -0) 📝 `netbox/project-static/dist/netbox.js` (+1 -1) 📝 `netbox/project-static/dist/netbox.js.map` (+1 -1) 📝 `netbox/project-static/src/netbox.ts` (+2 -2) 📝 `netbox/templates/base/layout.html` (+2 -2) 📝 `netbox/templates/users/api_tokens.html` (+11 -3) 📝 `netbox/users/admin/__init__.py` (+7 -1) 📝 `netbox/users/admin/forms.py` (+1 -1) 📝 `netbox/users/api/serializers.py` (+1 -1) 📝 `netbox/users/forms.py` (+8 -1) ➕ `netbox/users/migrations/0002_token_allowed_ips.py` (+20 -0) 📝 `netbox/users/models.py` (+28 -0) 📝 `netbox/utilities/templates/search/searchbar.html` (+4 -3) 📝 `netbox/utilities/templatetags/search.py` (+5 -2) </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 opened for approval prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. Please indicate the relevant feature request or bug report below. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ACCEPTED BUG REPORT OR FEATURE REQUEST, IT WILL BE MARKED AS INVALID AND CLOSED. --> ### Fixes: #8813 Search bar contents not retained after submitting status: accepted type: bug ### Fixes: #7839 Focus on searchbar status <!-- This PR will retain the contents of the searchbar, and set the focus to it after searching. --> --- <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 22:27:14 +01:00
adam closed this issue 2025-12-29 22:27:14 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13409