do not exclude if in Quick Access list

This commit is contained in:
Jeremy Wu 2021-03-16 07:12:01 +11:00
parent b642898132
commit b2dc2ef71b

View file

@ -1,4 +1,4 @@
using Flow.Launcher.Plugin.Explorer.Search.DirectoryInfo;
using Flow.Launcher.Plugin.Explorer.Search.DirectoryInfo;
using Flow.Launcher.Plugin.Explorer.Search.QuickAccessLinks;
using Flow.Launcher.Plugin.Explorer.Search.WindowsIndex;
using Flow.Launcher.Plugin.SharedCommands;
@ -65,9 +65,12 @@ namespace Flow.Launcher.Plugin.Explorer.Search
if (!querySearch.IsLocationPathString() && !isEnvironmentVariablePath)
{
results.UnionWith(await WindowsIndexFilesAndFoldersSearchAsync(query, querySearch, token).ConfigureAwait(false));
var filteredResults = FilterOutResultsFromWindowsIndexExclusionList(
await WindowsIndexFilesAndFoldersSearchAsync(query, querySearch, token).ConfigureAwait(false));
return FilterOutResultsFromWindowsIndexExclusionList(results).ToList();
results.UnionWith(filteredResults);
return results.ToList();
}
var locationPath = querySearch;