Changes for page Rangee Index
Last modified by Tobias Wintrich on 2025/06/04 09:20
From version 12.2
edited by Tobias Wintrich
on 2021/09/28 10:26
on 2021/09/28 10:26
Change comment:
There is no comment for this version
To version 11.10
edited by Tobias Wintrich
on 2021/09/28 10:22
on 2021/09/28 10:22
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -6,7 +6,6 @@ 6 6 #set($results = false) 7 7 #set ($query = $services.query.xwql('where doc.parent = :doc and doc.hidden = 0 order by doc.title asc')) 8 8 #set($results = $query.bindValue('doc', $doc.fullName).addFilter('currentlanguage').execute()) 9 - $results 10 10 #foreach($docname in $results) 11 11 #set($rdoc = $xwiki.getDocument($docname).getTranslatedDocument()) 12 12 <li class=" ... ... @@ -13,7 +13,7 @@ 13 13 #if ($depth > 0) 14 14 jstree-open 15 15 #end 16 - "> 15 + ">$depth 17 17 [[$rdoc.getDisplayTitle()>>$rdoc.fullName]] 18 18 </li> 19 19 #set($results2 = false) ... ... @@ -26,7 +26,7 @@ 26 26 #if ($depth > 1) 27 27 jstree-open 28 28 #end 29 - "> 28 + ">$depth 30 30 [[$rdoc2.getDisplayTitle()>>$rdoc2.fullName]] 31 31 </li> 32 32 #set($results3 = false) ... ... @@ -39,7 +39,7 @@ 39 39 #if ($depth > 2) 40 40 jstree-open 41 41 #end 42 - "> 41 + ">$depth 43 43 [[$rdoc3.getDisplayTitle()>>$rdoc3.fullName]] 44 44 </li> 45 45 #set($results4 = false)