Skip to content

Commit 19e4ecf

Browse files
committed
XWIKI-20437: Wrong order of categories in space administration
* Reverted a breaking change. * Added a comment
1 parent a6a12e7 commit 19e4ecf

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 basis for setting the URL on 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)