(search) Toggle for showing recent results
Actually persist the value of the toggle between searches too...
This commit is contained in:
parent
aff690f7d6
commit
41cccfd2aa
@ -18,14 +18,11 @@ public class DecoratedSearchResults {
|
||||
private final String focusDomain;
|
||||
private final int focusDomainId;
|
||||
private final SearchFilters filters;
|
||||
public String getQuery() {
|
||||
return params.query();
|
||||
}
|
||||
public String getProfile() {
|
||||
return params.profile().filterId;
|
||||
}
|
||||
public String getJs() {
|
||||
return params.js().value;
|
||||
}
|
||||
|
||||
// These are used by the search form
|
||||
public String getQuery() { return params.query(); }
|
||||
public String getProfile() { return params.profile().filterId; }
|
||||
public String getJs() { return params.js().value; }
|
||||
public String getAdtech() { return params.adtech().value; }
|
||||
public String getRecent() { return params.recent().value; }
|
||||
}
|
||||
|
@ -8,6 +8,7 @@
|
||||
<input type="hidden" name="js" value="{{js}}">
|
||||
<input type="hidden" name="adtech" value="{{adtech}}">
|
||||
<input type="hidden" name="profile" value="{{profile}}">
|
||||
<input type="hidden" name="recent" value="{{recent}}">
|
||||
|
||||
<input type="submit" form="search-form" title="Execute Search" value="Search">
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user