Changes for page Available Macros


on 2022-08-02 10:57


on 2023-05-31 14:27
Summary
Details
- Page properties
-
- Content
-
... ... @@ -17,7 +17,7 @@ 17 17 #set ($discard = $wikiMacroMap.put($macroObject.id, [$macroDocument.documentReference.toString(), $macroObject.visibility])) 18 18 #end 19 19 |={{translation key='help.macroList.id'/}}|={{translation key='help.macroList.name'/}}|={{translation key='help.macroList.categories'/}}|={{translation key='help.macroList.description'/}}|={{translation key='help.macroList.visibility'/}} 20 -#foreach ($descriptor in $services.rendering.getMacroDescriptors('xwiki/2.1')) 20 +#foreach ($descriptor in $collectiontool.sort($services.rendering.getMacroDescriptors('xwiki/2.1'), 'id.id:asc')) 21 21 #set ($wikiMacroData = $wikiMacroMap.get($descriptor.id.id)) 22 22 #if ("$!wikiMacroData" != '') 23 23 #set ($displayId = "[[$services.rendering.escape($services.rendering.escape($descriptor.id, 'xwiki/2.1'), 'xwiki/2.1')>>$wikiMacroData.get(0)]]")