From 1984b3747e5949e5fb33a4ed98dec24cde435d33 Mon Sep 17 00:00:00 2001 From: Jaime Bernardo Date: Wed, 29 Sep 2021 11:50:40 +0100 Subject: [PATCH] [PTRun][Services] Search for result full title (#13492) --- .../Helpers/ServiceHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Service/Helpers/ServiceHelper.cs b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Service/Helpers/ServiceHelper.cs index d4dcdcc9bc..044ebd33d8 100644 --- a/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Service/Helpers/ServiceHelper.cs +++ b/src/modules/launcher/Plugins/Microsoft.PowerToys.Run.Plugin.Service/Helpers/ServiceHelper.cs @@ -24,7 +24,7 @@ namespace Microsoft.PowerToys.Run.Plugin.Service.Helpers var services = ServiceController.GetServices(); return services - .Where(s => s.DisplayName.StartsWith(search, StringComparison.OrdinalIgnoreCase) || s.ServiceName.StartsWith(search, StringComparison.OrdinalIgnoreCase)) + .Where(s => s.DisplayName.StartsWith(search, StringComparison.OrdinalIgnoreCase) || s.ServiceName.StartsWith(search, StringComparison.OrdinalIgnoreCase) || GetResultTitle(s).StartsWith(search, StringComparison.OrdinalIgnoreCase)) .Select(s => { ServiceResult serviceResult = new ServiceResult(s);