From 79e5b6ddcea5950f10b2d5264423f875e5fb3fe9 Mon Sep 17 00:00:00 2001 From: George Clark Date: Sun, 14 Jan 2018 11:08:50 -0500 Subject: [PATCH] Item13883: Clarify Query search documentation. Support/Question1916 pointed out that the Parent name can be stored with or without the web name. --- core/data/System/QuerySearch.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/data/System/QuerySearch.txt b/core/data/System/QuerySearch.txt index 81780f94e7..5b6d4033de 100644 --- a/core/data/System/QuerySearch.txt +++ b/core/data/System/QuerySearch.txt @@ -1,4 +1,4 @@ -%META:TOPICINFO{author="ProjectContributor" date="1480472285" format="1.1" version="1"}% +%META:TOPICINFO{author="ProjectContributor" date="1515946105" format="1.1" version="1"}% %META:TOPICPARENT{name="UserDocumentationCategory"}% %STARTINCLUDE% ---+ Query Search @@ -234,9 +234,9 @@ will return an array of the values of the Published field in all versions author * =lc(name)=~'.*ann.*'= - Would match Anne, Maryann, !MaryAnn, !AnnMarie... ---+++ Search examples -Find all topics that are children of this topic in the current web +Find all topics that are children of this topic in the current web. (The parent can be stored with or without the web name. The web name is typically added if a topic or its parent is moved/renamed.) -%SEARCH{"parent.name = '%TOPIC%'" web="%WEB%" type="query"}% +%SEARCH{"parent.name='%TOPIC%' OR parent.name='%WEB%.%TOPIC%'" web="%WEB%" type="query"}% Find all topics that have an attachment called 'grunge.gif'