Changes for page Rangee Index

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

From version 12.15
edited by Tobias Wintrich
on 2021/09/28 11:46
Change comment: There is no comment for this version
To version 12.19
edited by Tobias Wintrich
on 2021/09/28 11:49
Change comment: There is no comment for this version

Summary

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="
11 + <li class="$rdoc.getLanguage()
12 12   #if ($depth > 0)
13 13   jstree-open
14 14   #end
... ... @@ -21,7 +21,7 @@
21 21   <ul>
22 22   #foreach($rdoc in $results2)
23 23   #set($rdoc2 = $xwiki.getDocument($rdoc).getTranslatedDocument())
24 - <li class="$rdoc.getLanguage()
24 + <li class="$rdoc2.getLanguage()
25 25   #if ($depth > 1)
26 26   jstree-open
27 27   #end