mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 21:18:58 +00:00
(search) Revert back to using 'Popular' as the default search filter
Unfiltered is a bit too ... unfiltered, and gives a bad first impression for many queries.
This commit is contained in:
parent
8ef34883a8
commit
6382f779c3
@ -31,7 +31,6 @@ public class SearchService extends Service {
|
||||
SearchFrontPageService frontPageService,
|
||||
SearchErrorPageService errorPageService,
|
||||
SearchAddToCrawlQueueService addToCrawlQueueService,
|
||||
SearchFlagSiteService flagSiteService,
|
||||
SearchSiteInfoService siteInfoService,
|
||||
SearchQueryService searchQueryService
|
||||
) {
|
||||
|
@ -38,7 +38,7 @@ public enum SearchProfile {
|
||||
private final static SearchProfile[] values = values();
|
||||
public static SearchProfile getSearchProfile(String param) {
|
||||
if (null == param) {
|
||||
return NO_FILTER;
|
||||
return DEFAULT;
|
||||
}
|
||||
|
||||
for (var profile : values) {
|
||||
@ -47,7 +47,7 @@ public enum SearchProfile {
|
||||
}
|
||||
}
|
||||
|
||||
return NO_FILTER;
|
||||
return DEFAULT;
|
||||
}
|
||||
|
||||
public void addTacitTerms(SearchSubquery subquery) {
|
||||
|
Loading…
Reference in New Issue
Block a user