Changes for page Rangee Index

Last modified by Tobias Wintrich on 2025/06/04 09:20

From version 10.36
edited by Tobias Wintrich
on 2021/09/28 08:43
Change comment: There is no comment for this version
To version 10.37
edited by Tobias Wintrich
on 2021/09/28 08:44
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -11,8 +11,7 @@
11 11   <li>
12 12   [[$rdoc.getDisplayTitle()>>$rdoc.fullName]]
13 13   </li>
14 - #set($query2="")
15 - #set($query2 = $services.query.xwql(where doc.parent='$rdoc' order by doc.title asc))
14 + #set($query2 = $services.query.xwql(where doc.parent=:doc order by doc.title asc))
16 16   #set($results2 = $query.bindValue('doc', $rdoc).execute())
17 17   #set($results2 = false)
18 18   #set($results2 = $xwiki.searchDocuments($query2))