mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05:18:58 +00:00
(search) Retain filter options when performing a new search from the input field
This commit is contained in:
parent
f9d3455320
commit
61de4e2789
@ -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; }
|
||||||
}
|
}
|
||||||
|
@ -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>
|
Loading…
Reference in New Issue
Block a user