Skip to content

Commit

Permalink
fix: search suggestions are not taking effect
Browse files Browse the repository at this point in the history
  • Loading branch information
Daydreamer-riri committed May 27, 2024
1 parent 0a30892 commit bcef3d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Community.PowerToys.Run.Plugin.WebSearchShortcut/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ private static Result GetResultForSuggestion(Item item, SuggestionsItem suggest,
IcoPath = IconPath["Suggestion"],
Title = suggest.Title,
SubTitle = suggest.Description,
Action = _ => OpenInBrowser(item.Url.Replace("%s", item.EncodeUrl(search))),
Action = _ => OpenInBrowser(item.Url.Replace("%s", item.EncodeUrl(suggest.Title))),
ContextData = item,
Score = 99,
};
Expand Down

0 comments on commit bcef3d0

Please sign in to comment.