Skip to content

Commit ae00eaa

Browse files
authored
Merge pull request #4835 from Sereza7/XWIKI-20437-2
XWIKI-20437: Wrong order of categories in space administration
2 parents a6a12e7 + 39f2af5 commit ae00eaa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

xwiki-platform-core/xwiki-platform-administration/xwiki-platform-administration-ui/src/main/resources/XWiki/ConfigurableClassMacros.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,11 @@
186186
#set ($discard = $sectionsByName.put($section.id, $section))
187187
#end
188188
#end
189+
## The $query variable is used as a basis for the URL used in sections. (search for ${query} )
190+
#set ($query = "editor=$escapetool.url(${editor})")
191+
#if ($editor != 'globaladmin')
192+
#set ($query = $query + "&space=$escapetool.url(${currentSpace})")
193+
#end
189194
#foreach ($appName in $appNames)
190195
##
191196
## Get the configurable application

0 commit comments

Comments
 (0)