Item2629: Topic Child List is not working
Priority: Enhancement
Current State: No Action Required
Released In:
Target Release: n/a
Applies To: Engine
Component:
Branches:
There is a problem with creating child topic list, which is mentioned in
http://foswiki.org/System/SearchPatternCookbook#SearchTopicChildren
In my wiki site..
(wiki code. omitted '%' symbol)
SEARCH{ "parent.name='Item2629'" type="query" nonoise="on" format="
$topic" separator=", " }
SEARCH{"parent.name = 'Item2629'" web="Tasks" type="query"}
(result)
Searched: parent.name = 'Research'
Number of topics: 0
Of course, there exist child topics.
I can see "You are here: Foswiki>Main Web>Research>Misc (2010-01-13,
JiseobKim)"
I also checked out 'More Topic actions' tab. But..
Child topics in Main web
No child topics
This problem also occured even for Mainweb
please help
--
JiseobKim - 13 Jan 2010
I am not sure what is failing if anything.
A topic may not have a parent. The default is that
WebHome is the parent if a topic has not been assigned a parent.
When you search for a specific parent - only those where the parent is actively assigned will be returned which is what it should do.
If you want to return topics that default to the
WebHome you can probably search for topics with no parent.
Try and experiment with this.
If you look at the raw topic with
?raw=debug
you can see if there is a META line at the top with a topic parent.
(please leave a signature after your text so we do not have to manually add it when we reply)
--
KennethLavrsen - 13 Jan 2010
I think this can be closed.
--
PaulHarvey - 01 Aug 2010