defaults – How can I reset the “Recents” search standards in Finder?

[ad_1]

By some means I deleted the search standards for the “Recents” Sidebar entry.
What’s the default search standards utilized by “Recents” and the way can I restore it?

enter image description here

enter image description here

enter image description here

cat /System/Library/CoreServices/Finder.app/Contents/Assets/MyLibraries/myDocuments.cannedSearch/Assets/search.savedSearch

<?xml model="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist model="1.0">
<dict>
    <key>CompatibleVersion</key>
    <integer>1</integer>
    <key>RawQuery</key>
    <string>(kMDItemLastUsedDate = "*") &amp;&amp; ((kMDItemContentTypeTree = public.content material) || (kMDItemContentTypeTree = "com.microsoft.*"cdw) || (kMDItemContentTypeTree = public.archive))</string>
    <key>RawQueryDict</key>
    <dict>
        <key>FinderFilesOnly</key>
        <true/>
        <key>RawQuery</key>
        <string>(kMDItemLastUsedDate = "*") &amp;&amp; ((kMDItemContentTypeTree = public.content material) || (kMDItemContentTypeTree = "com.microsoft.*"cdw) || (kMDItemContentTypeTree = public.archive))</string>
        <key>SearchScopes</key>
        <array>
        <string>kMDQueryScopeMyFiles</string>
        </array>
        <key>UserFilesOnly</key>
        <true/>
    </dict>
    <key>SearchCriteria</key>
    <dict>
        <key>AnyAttributeContains</key>
        <string></string>
        <key>CurrentFolderPath</key>
        <array>
            <string>/Customers</string>
        </array>
        <key>FXCriteriaSlices</key>
        <array>
            <dict>
                <key>standards</key>
                <array>
                    <string>com_apple_RawQueryAttribute</string>
                    <integer>104</integer>
                </array>
                <key>displayValues</key>
                <array>
                    <string>Uncooked question</string>
                    <string>(kMDItemLastUsedDate = "*") &amp;&amp; ((kMDItemContentTypeTree = public.content material) || (kMDItemContentTypeTree = "com.microsoft.*"cdw) || (kMDItemContentTypeTree = public.archive))</string>
                </array>
                <key>rowType</key>
                <integer>0</integer>
                <key>subrows</key>
                <array/>
            </dict>
        </array>
        <key>FXScope</key>
        <integer>1396925814</integer>
        <key>FXScopeArrayOfPaths</key>
        <array>
          <string>kMDQueryScopeMyFiles</string>
        </array>
    </dict>
</dict>
</plist>

EDIT: add screenshot which illustrates that the search question is misplaced.

EDIT2: add screenshot which illustrates that the uncooked question can’t be saved.

EDIT3: add search.savedSearch content material.

[ad_2]

Leave a Reply

Your email address will not be published. Required fields are marked *