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

#6732: Fix search filtering

This was broken after implementing mobile screen size support in #6327
This commit is contained in:
checktheroads
2021-05-07 11:07:06 -07:00
parent 445adbd078
commit 63435f2ec1
5 changed files with 43 additions and 39 deletions

View File

@@ -9,8 +9,8 @@
value="{{ request.GET.q }}"
aria-describedby="search-button"
/>
<input id="search-obj-type" name="obj_type" hidden type="text" />
<span class="input-group-text" id="selected-value">All Objects</span>
<input name="obj_type" hidden type="text" class="search-obj-type" />
<span class="input-group-text search-obj-selected">All Objects</span>
<button
type="button"
aria-expanded="false"
@@ -19,7 +19,7 @@
>
<i class="mdi mdi-filter-variant"></i>
</button>
<ul id="object-type-selector" class="dropdown-menu dropdown-menu-end">
<ul class="dropdown-menu dropdown-menu-end search-obj-selector">
{% for option in options %} {% if option.items|length == 0 %}
<li>
<button