Hello list,
when using list-documents as database-list property as described in:
http://code.xwiki.org/xwiki/bin/view/Snippets/ListDocumentsSnippet
I seem to get duplicates for each language.
Then I tried:
select doc.name, doc.title
from com.xpn.xwiki.doc.XWikiDocument as doc
grouped by doc.name
where doc.web = 'MySpace' and doc.name!='WebHome')
but that emptied the possible values (as output by $doc.display
('fieldName')
What have I done wrong ?
I'm a bit of a newbie in HQL!
thanks in advance
paul