Description
The new syntax guide developed in XWIKI-9176 lists every section twice in the left navigation; e.g. there are two "Introduction" etc pp
Can anyone reproduce this, or is it just me?
In case it is not jut me, a simple fix would be to add a "addFilter('unique')." to the query generating the navigation; i.e. in XWiki.XWikiSyntax, line 45:
#set($results = $services.query.xwql('from doc.object(XWiki.XWikiSyntaxClass) as syntax order by syntax.category, syntax.section').addFilter('currentlanguage').addFilter('unique').execute())
Attachments
Issue Links
- is related to
-
XWIKI-10384 Pages with translations are displayed twice on Main.AllDocs under certain circumstances
- Closed