1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #8813 Retain search value after submitting (#8907)

* Fixes #8813 Retain search value after submitting

* remove autofocus from searchbar

Co-authored-by: Pieter Lambrecht <pieter.lambrecht@sentia.com>
This commit is contained in:
PieterL75
2022-03-18 18:23:39 +01:00
committed by GitHub
parent 9a0bb14e76
commit 0da04232f3
3 changed files with 8 additions and 5 deletions

View File

@@ -5,7 +5,7 @@
aria-label="Search"
placeholder="Search"
class="form-control"
value="{{ request.GET.q }}"
value="{{ request.GET.q|escape }}"
/>
<input name="obj_type" hidden type="text" class="search-obj-type" />