Hi,

We are trying to get a node depending on its childnodes uuid. We have the 
following query:
[code]select *  from [nt:base] where ISDESCENDANTNODE([/article]) and tags = 
uuid[/code]

Result:
[code]1 
nodes returned in 17ms
/article/2012/articlename/tags/9bc28cac-8926-4b9c-a[/code]

The result from this query is however the child (the node with the uuid name). 
We want to get the parent node returned instead ("articlename"). We could do 
this in freemarker by getting the parent node of the result but we would rather 
get the right result from sql.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=96440f7a-168a-4ec0-9e1c-729a074e16ca


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to