[PR #8907] [MERGED] Fixes #8813 Retain search value after submitting #13408

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/8907
Author: @PieterL75
Created: 3/18/2022
Status: Merged
Merged: 3/18/2022
Merged by: @jeremystretch

Base: developHead: issue_8813


📝 Commits (2)

  • 055c67f Fixes #8813 Retain search value after submitting
  • e0fedd1 remove autofocus from searchbar

📊 Changes

3 files changed (+8 additions, -5 deletions)

View changed files

📝 netbox/templates/base/layout.html (+2 -2)
📝 netbox/utilities/templates/search/searchbar.html (+1 -1)
📝 netbox/utilities/templatetags/search.py (+5 -2)

📄 Description

Fixes: #8813 Retain search value after submitting


🔄 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/8907 **Author:** [@PieterL75](https://github.com/PieterL75) **Created:** 3/18/2022 **Status:** ✅ Merged **Merged:** 3/18/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `issue_8813` --- ### 📝 Commits (2) - [`055c67f`](https://github.com/netbox-community/netbox/commit/055c67f6be9b9b67975b550e4a089062efe1ef56) Fixes #8813 Retain search value after submitting - [`e0fedd1`](https://github.com/netbox-community/netbox/commit/e0fedd17471b65300e1ef588cb97335413018864) remove autofocus from searchbar ### 📊 Changes **3 files changed** (+8 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `netbox/templates/base/layout.html` (+2 -2) 📝 `netbox/utilities/templates/search/searchbar.html` (+1 -1) 📝 `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 Retain search value after submitting <!-- This PR will make sure that the value being searched for, is shown again in the top search bar. --> --- <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#13408