[PR #8908] [CLOSED] Fixes #7839 Focus on searchbar #13406

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/8908
Author: @PieterL75
Created: 3/18/2022
Status: Closed

Base: developHead: issue_7839


📝 Commits (5)

📊 Changes

6 files changed (+13 additions, -8 deletions)

View changed files

📝 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/utilities/templates/search/searchbar.html (+5 -1)
📝 netbox/utilities/templatetags/search.py (+2 -1)

📄 Description


🔄 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/8908 **Author:** [@PieterL75](https://github.com/PieterL75) **Created:** 3/18/2022 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `issue_7839` --- ### 📝 Commits (5) - [`edd03e7`](https://github.com/netbox-community/netbox/commit/edd03e785ca3b12ce358e20821cc1e5d92b2b8f9) Fixes #7839 Focus on searchbar - [`dc355e8`](https://github.com/netbox-community/netbox/commit/dc355e827d16dc1124ec8815485c9cf8818ca443) added autofocus and onfocus on the searchbar - [`5063129`](https://github.com/netbox-community/netbox/commit/50631299798b147c5f928f13b2da38de8636801c) Merge branch 'develop' into issue_7839 - [`b13f03e`](https://github.com/netbox-community/netbox/commit/b13f03e0c66621d1e2ad0667a03660db57c80f3a) Only autofocus on desktop navbar - [`19de42c`](https://github.com/netbox-community/netbox/commit/19de42c8fe0385400c4b5c2882bc5ed920ea04d8) Fix type ### 📊 Changes **6 files changed** (+13 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `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/utilities/templates/search/searchbar.html` (+5 -1) 📝 `netbox/utilities/templatetags/search.py` (+2 -1) </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: #7839 Focus on searchbar <!-- After a search was done, the focus was not on the searchbar, but on the content-container. This PR will make sure the focus is on the searchbar 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#13406