Changes for page Rangee Index
Last modified by Tobias Wintrich on 2025/06/04 09:20
From version 12.26
edited by Tobias Wintrich
on 2021/09/28 11:56
on 2021/09/28 11:56
Change comment:
There is no comment for this version
To version 12.16
edited by Tobias Wintrich
on 2021/09/28 11:46
on 2021/09/28 11:46
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -1,9 +1,7 @@ 1 1 {{velocity}} 2 - ##{{tree links="true" edges="false"}}2 +{{tree links="true" edges="false"}} 3 3 #set($depth = $wikimacro.parameters.depth) 4 4 {{html wiki=true}} 5 -language 6 -$doc.getLanguage() 7 7 <ul> 8 8 #set($results = false) 9 9 #set ($query = $services.query.xwql('where doc.parent = :doc and doc.hidden = 0 order by doc.title asc')) ... ... @@ -19,7 +19,7 @@ 19 19 </li> 20 20 #set($results2 = false) 21 21 #set($query2 = $services.query.xwql('where doc.parent=:doc and doc.hidden = 0 order by doc.title asc')) 22 - #set($results2 = $query2.bindValue('doc', $docname).addFilter('currentlanguage').execute()) 20 + #set($results2 = $query2.bindValue('doc', $docname).addFilter('currentlanguage').execute()) 23 23 <ul> 24 24 #foreach($rdoc in $results2) 25 25 #set($rdoc2 = $xwiki.getDocument($rdoc).getTranslatedDocument()) ... ... @@ -81,5 +81,5 @@ 81 81 </ul> 82 82 83 83 {{/html}} 84 - ##{{/tree}}82 +{{/tree}} 85 85 {{/velocity}}