Changes for page Confluence bridge for Details Summary (Page properties report)
Last modified by Frank Fock on 2026/04/03 11:52
From version 3.1
edited by Frank Fock
on 2025/04/29 19:14
on 2025/04/29 19:14
Change comment:
Migrated property [featureMandatory] from class [XWiki.WikiMacroParameterClass]
To version 1.1
edited by Frank Fock
on 2025/01/26 23:11
on 2025/01/26 23:11
Change comment:
Install extension [com.xwiki.pro:xwiki-pro-macros-confluence-bridges-ui/1.25.5]
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -11,7 +11,7 @@ 11 11 |**cql**|A query written in the Confluence Query Language (CQL) syntax defining the list of documents to show. [[See the documentation>>https://extensions.xwiki.org/xwiki/bin/view/Extension/CQL/#HSyntax]].|If labels is not given|(% style="width:27px" %)(empty)|(% style="width:334px" %){{{label = "examplelabel" and space = currentSpace ( )}}} 12 12 |**labels**|A list of tags to use, separated by a comma or a space. This value is ignored if the cql parameter is set. Note: this parameter doesn't exist in Confluence, it's an XWiki addition.|If cql is not given|(% style="width:27px" %)(empty)|(% style="width:334px" %)exampletag 13 13 |**operator**|Whether all the tags should match (AND), or any (OR). This value is ignored if the cql parameter is set. Note: this parameter doesn't exist in Confluence, it's an XWiki addition.|No|(% style="width:27px" %)OR|(% style="width:334px" %)AND 14 -|**max**|Maximum number of results. Note: this parameter doesn't exist in Confluence, it's an XWiki addition.|No|(% style="width:27px" %) 1000|(% style="width:27px" %)1514 +|**max**|Maximum number of results. Note: this parameter doesn't exist in Confluence, it's an XWiki addition.|No|(% style="width:27px" %)(unset)|(% style="width:27px" %)15 15 15 |**sort**|What to sort on. The only supported values are "modified", "creation" and "title" for now. Ignored if an ##order by## clause is present in the cql parameter. Note: this parameter doesn't exist in Confluence, it's an XWiki addition.|No|(% style="width:27px" %)(unset)|(% style="width:27px" %)title 16 16 |**reverse**|Whether to reverse the sort (true) or not (false). Note: this parameter doesn't exist in Confluence, it's an XWiki addition.|No|(% style="width:27px" %)false|(% style="width:27px" %)true 17 17 |**firstcolumn**|A custom title for the document name column|No|(% style="width:27px" %)Title|(% style="width:334px" %)Book
- XWiki.WikiMacroClass[0]
-
- Macro code
-
... ... @@ -22,7 +22,7 @@ 22 22 #set ($showCreator = "$!xcontext.macro.params.showCreator") 23 23 #set ($showCreator = $showCreator.equalsIgnoreCase("true")) 24 24 #set ($showAnyMetadata = $showLastModified || $showPageLabels || $showCreator) 25 - #set ($details = $services.confluence.details.getDetails("$!xcontext.macro.params.id", "$!xcontext.macro.params.headings", $results , "$!xcontext.macro.params.sortBy", "$!xcontext.macro.params.reverseSort" == "true"))25 + #set ($details = $services.confluence.details.getDetails("$!xcontext.macro.params.id", "$!xcontext.macro.params.headings", $results)) 26 26 #if ($details.size() < 2) 27 27 $services.localization.render('rendering.macro.detailssummary.noresults') 28 28 #else ... ... @@ -45,8 +45,7 @@ 45 45 #end## 46 46 #if ($showLastModified)|$xwiki.formatDate($d.getDate())#end## 47 47 #if ($showCreator)|#if ($d.getCreator() == "XWiki.superadmin")superadmin#else[[$d.getCreator()]]#end#end## 48 - #if ($showPageLabels)|#showTags($d)#end## 49 - 48 + #if ($showPageLabels)|#showTags($d)#end| 50 50 #end 51 51 #end 52 52