0 Votes

Changes for page IncidentGallery

Last modified by Ryan C on 2025/07/17 06:41

From version 4.15
edited by Ryan C
on 2025/07/17 06:40
Change comment: There is no comment for this version
To version 4.13
edited by Ryan C
on 2025/07/17 06:11
Change comment: There is no comment for this version

Summary

Details

XWiki.WikiMacroClass[0]
Macro code
... ... @@ -1,6 +1,6 @@
1 1  {{groovy}}
2 2  def tags = binding.variables['tags']
3 -def includeTags = tags*.toLowerCase().collect { it.replaceAll('_', ' ') }
3 +def includeTags = tags?.split(',')*.trim()*.toLowerCase().findAll { it }
4 4  
5 5  def maxCount = 100
6 6  def hql = """
Macro content availability
... ... @@ -1,1 +1,0 @@
1 -No content
XWiki.WikiMacroParameterClass[0]
Parameter type
... ... @@ -1,1 +1,1 @@
1 -java.util.List<macros.IncidentTag>
1 +Unknown