mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Merge pull request #49 from jjw24/fix_websearch_globalpluginwildcard_search
Fix WebSearch plugin missing query part when searching with global wildcard
This commit is contained in:
commit
805d892dbb
1 changed files with 5 additions and 4 deletions
|
|
@ -49,10 +49,11 @@ namespace Wox.Plugin.WebSearch
|
|||
{
|
||||
foreach (SearchSource searchSource in searchSourceList)
|
||||
{
|
||||
string keyword = query.Search;
|
||||
string title = keyword;
|
||||
string subtitle = _context.API.GetTranslation("wox_plugin_websearch_search") + " " +
|
||||
searchSource.Title;
|
||||
string keyword = string.Empty;
|
||||
keyword = searchSource.ActionKeyword == SearchSourceGlobalPluginWildCardSign ? query.ToString() : query.Search;
|
||||
var title = keyword;
|
||||
string subtitle = _context.API.GetTranslation("wox_plugin_websearch_search") + " " + searchSource.Title;
|
||||
|
||||
if (string.IsNullOrEmpty(keyword))
|
||||
{
|
||||
var result = new Result
|
||||
|
|
|
|||
Loading…
Reference in a new issue