mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-12 18:29:24 +08:00
SearchIndexer - Modifying QueryContentProperties and QuerySelectColumns to use System.FileName
This commit is contained in:
parent
dafc514353
commit
37a551ecd3
@ -90,13 +90,13 @@ namespace Microsoft.Plugin.Indexer.SearchHelper
|
||||
queryHelper.QueryMaxResults = maxCount;
|
||||
|
||||
// Set list of columns we want to display, getting the path presently
|
||||
queryHelper.QuerySelectColumns = "System.ItemPathDisplay";
|
||||
queryHelper.QuerySelectColumns = "System.ItemPathDisplay, System.FileName";
|
||||
|
||||
// Set additional query restriction
|
||||
queryHelper.QueryWhereRestrictions = "AND scope='file:'";
|
||||
|
||||
// To filter based on title for now
|
||||
queryHelper.QueryContentProperties = "System.Title";
|
||||
queryHelper.QueryContentProperties = "System.FileName";
|
||||
|
||||
// Set sorting order
|
||||
queryHelper.QuerySorting = "System.DateModified DESC";
|
||||
|
Loading…
Reference in New Issue
Block a user