You are here: Foswiki>Tasks Web>Item2629 (01 Aug 2010, PaulHarvey)Edit Attach

Item2629: Topic Child List is not working

pencil
Priority: Enhancement
Current State: No Action Required
Released In:
Target Release: n/a
Applies To: Engine
Component:
Branches:
Reported By: JiseobKim
Waiting For: Main.JiseobKim
Last Change By: PaulHarvey
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

ItemTemplate edit

Summary Topic Child List is not working
ReportedBy JiseobKim
Codebase
SVN Range
AppliesTo Engine
Component
Priority Enhancement
CurrentState No Action Required
WaitingFor JiseobKim
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r3 - 01 Aug 2010, PaulHarvey
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy