Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9756

New XWiki Syntax guide lists every section twice

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 6.1-rc-1
    • 5.3-milestone-2
    • Help
    • Unknown
    • N/A
    • N/A

    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

          Activity

            People

              camil7 Clemens Robbenhaar
              camil7 Clemens Robbenhaar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: