Changes for page Rangee Index
Last modified by Tobias Wintrich on 2025/06/04 09:20
From version 12.18
edited by Tobias Wintrich
on 2021/09/28 11:48
on 2021/09/28 11:48
Change comment:
There is no comment for this version
To version 12.10
edited by Tobias Wintrich
on 2021/09/28 10:30
on 2021/09/28 10:30
Change comment:
There is no comment for this version
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -8,7 +8,7 @@ 8 8 #set($results = $query.bindValue('doc', $doc.fullName).addFilter('currentlanguage').execute()) 9 9 #foreach($docname in $results) 10 10 #set($rdoc = $xwiki.getDocument($docname).getTranslatedDocument()) 11 - <li class=" $docname.getLanguage()11 + <li class=" 12 12 #if ($depth > 0) 13 13 jstree-open 14 14 #end ... ... @@ -20,8 +20,8 @@ 20 20 #set($results2 = $query2.bindValue('doc', $docname).addFilter('currentlanguage').execute()) 21 21 <ul> 22 22 #foreach($rdoc in $results2) 23 - #set($rdoc2 = $xwiki.getDocument($rdoc).get TranslatedDocument())24 - <li class=" $rdoc.getLanguage()23 + #set($rdoc2 = $xwiki.getDocument($rdoc).getDocument()) 24 + <li class=" 25 25 #if ($depth > 1) 26 26 jstree-open 27 27 #end ... ... @@ -33,7 +33,7 @@ 33 33 #set($results3 = $query3.bindValue('doc', $rdoc).addFilter('currentlanguage').execute()) 34 34 <ul> 35 35 #foreach($rdoc2 in $results3) 36 - #set($rdoc3 = $xwiki.getDocument($rdoc2).get TranslatedDocument())36 + #set($rdoc3 = $xwiki.getDocument($rdoc2).getDocument()) 37 37 <li class=" 38 38 #if ($depth > 2) 39 39 jstree-open