Changes for page Rangee Index

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

From version 12.48
edited by Tobias Wintrich
on 2021/09/28 13:04
Change comment: There is no comment for this version
To version 12.49
edited by Tobias Wintrich
on 2021/09/28 13:04
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -28,7 +28,7 @@
28 28   <ul>
29 29   #foreach($rdoc in $results2)
30 30   #set($rdoc2 = $xwiki.getDocument($rdoc).getTranslatedDocument())
31 - #if ($locale == $rdoc2.getLanguage())
31 +
32 32   <li class="
33 33   #if ($depth > 1)
34 34   jstree-open
... ... @@ -36,7 +36,7 @@
36 36   ">
37 37   [[$rdoc2.getDisplayTitle()>>$rdoc2.fullName]]
38 38   </li>
39 - #end
39 +
40 40   #set($results3 = false)
41 41   #set($query3 = $services.query.xwql('where doc.parent=:doc and doc.hidden = 0 order by doc.title asc'))
42 42   #set($results3 = $query3.bindValue('doc', $rdoc).addFilter('currentlanguage').execute())