Last modified by Agnease on 2026/06/08 18:37

From version 2.7
edited by Agnease
on 2026/06/08 18:07
Change comment: There is no comment for this version
To version 2.8
edited by Agnease
on 2026/06/08 18:08
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -205,7 +205,7 @@
205 205  {{/velocity}}
206 206  
207 207  {{code}}
208 -#set ($query = "select distinct doc.fullName from XWikiDocument doc, BaseObject obj where obj.name = doc.fullName and obj.className = 'XWiki.XWikiRights' order by doc.fullName asc")
208 +#set ($query = "from doc.object(XWiki.XWikiRights) rights order by doc.fullName asc")
209 209  #set ($pages = $services.query.xwql($query).execute())
210 210  
211 211  #if ($pages.isEmpty())