fix search

This commit is contained in:
Cayo Puigdefabregas 2022-11-28 17:00:30 +01:00
parent 79fbe323a2
commit 07f947b1ad
1 changed files with 9 additions and 2 deletions

View File

@ -8,10 +8,17 @@
</div><!-- End Logo --> </div><!-- End Logo -->
<div class="search-bar"> <div class="search-bar">
<form class="search-form d-flex align-items-center" method="" id="SearchFormAdvance" action="/inventory/search/"> <form class="search-form d-flex align-items-center" method="get" action="/inventory/search/">
<input class="dropdown-toggle" type="text" name="q" placeholder="Search" title="Enter search keyword" <input class="" type="text" name="q" placeholder="Search" title="Enter search keyword">
<button type="submit" title="Search"><i class="bi bi-search"></i></button>
</form>
</div><!-- End Search Bar -->
<div class="search-bar d-none">
<form class="search-form d-flex align-items-center" method="" id="SearchForm" action="#">
<input class="dropdown-toggle" type="text" name="query" placeholder="Search" title="Enter search keyword"
autocomplete="off" id="dropdownSearch" data-bs-toggle="dropdown" aria-expanded="false"> autocomplete="off" id="dropdownSearch" data-bs-toggle="dropdown" aria-expanded="false">
<button type="submit" title="Search"><i class="bi bi-search"></i></button> <button type="submit" title="Search"><i class="bi bi-search"></i></button>
<ul class="dropdown-menu" autoClose="outside" aria-labelledby="dropdownSearch" id="dropdown-search-list" <ul class="dropdown-menu" autoClose="outside" aria-labelledby="dropdownSearch" id="dropdown-search-list"
style="min-width: 100px;"> style="min-width: 100px;">
<li class="dropdown-header"> <li class="dropdown-header">