Changes for page Rangee Index

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

From version 12.33
edited by Tobias Wintrich
on 2021/09/28 12:05
Change comment: There is no comment for this version
To version 12.34
edited by Tobias Wintrich
on 2021/09/28 12:07
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -59,7 +59,7 @@
59 59   <ul>
60 60   #foreach($rdoc3 in $results4)
61 61   #set($rdoc4 = $xwiki.getDocument($rdoc3).getTranslatedDocument())
62 - #if ($locale == $rdoc3.getLanguage())
62 +
63 63   <li class="
64 64   #if ($depth > 3)
65 65   jstree-open
... ... @@ -67,7 +67,6 @@
67 67   ">
68 68   [[$rdoc4.getDisplayTitle()>>$rdoc4.fullName]]
69 69   </li>
70 - #end
71 71   #set($results5 = false)
72 72   #set($query5 = $services.query.xwql('where doc.parent=:doc and doc.hidden = 0 order by doc.title asc'))
73 73   #set($results5 = $query3.bindValue('doc', $rdoc3).addFilter('currentlanguage').execute())
... ... @@ -74,7 +74,6 @@
74 74   <ul>
75 75   #foreach($rdoc4 in $results5)
76 76   #set($rdoc5 = $xwiki.getDocument($rdoc4).getTranslatedDocument())
77 - #if ($locale == $rdoc4.getLanguage())
78 78   <li class="
79 79   #if ($depth > 4)
80 80   jstree-open
... ... @@ -83,7 +83,6 @@
83 83   [[$rdoc5.getDisplayTitle()>>$rdoc5.fullName]]
84 84   </li>
85 85   #end
86 - #end
87 87   </ul>
88 88   #end
89 89   </ul>