(search) Retain filter options when performing a new search from the input field

This commit is contained in:
Viktor Lofgren 2023-11-27 18:33:27 +01:00
parent f9d3455320
commit 61de4e2789
2 changed files with 6 additions and 0 deletions

View File

@ -27,4 +27,5 @@ public class DecoratedSearchResults {
public String getJs() { public String getJs() {
return params.js().value; return params.js().value;
} }
public String getAdtech() { return params.adtech().value; }
} }

View File

@ -7,6 +7,11 @@
</button> </button>
</h1> </h1>
<input type="text" name="query" placeholder="Search..." value="{{query}}" autocomplete="off"> <input type="text" name="query" placeholder="Search..." value="{{query}}" autocomplete="off">
<input type="hidden" name="js" value="{{js}}">
<input type="hidden" name="adtech" value="{{adtech}}">
<input type="hidden" name="profile" value="{{profile}}">
<button type="submit">Search</button> <button type="submit">Search</button>
</div> </div>
</form> </form>