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

XWQL short form queries should distinct on document fullname.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • 3.3
    • Query
    • None
    • Unit
    • Unknown

    Description

      Try:

      {{velocity}}
      #foreach($page in $services.query.xwql("where doc.fullName='Sandbox.WebHome'").execute())
      * $page
      #end
      {{/velocity}}
      

      In a fresh XE, and it will return one entry per language, this 8 times the Sandbox.WebHome document.

      Attachments

        Issue Links

          Activity

            People

              jvdrean Jean-Vincent Drean
              jerome Jerome Velociter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: